[Git][noosfero/noosfero][master] 2 commits: application-js: encapsulate dom element on jQuery before calling hide()

Bráulio Bhavamitra gitlab at gitlab.com
Wed Jun 17 13:18:06 BRT 2015


Bráulio Bhavamitra pushed to branch master at Noosfero / noosfero


Commits:
1de467af by Rodrigo Souto at 2015-04-23T15:12:27Z
application-js: encapsulate dom element on jQuery before calling hide()

- - - - -
11bca1cb by Bráulio Bhavamitra at 2015-06-17T16:17:51Z
Merge branch 'view-comments' into 'master'

application-js: encapsulate dom element on jQuery before calling hide()

See merge request !556

- - - - -


1 changed file:

- public/javascripts/application.js


Changes:

=====================================
public/javascripts/application.js
=====================================
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -830,7 +830,7 @@ Array.min = function(array) {
 
 function hideAndGetUrl(link) {
   document.body.style.cursor = 'wait';
-  link.hide();
+  jQuery(link).hide();
   url = jQuery(link).attr('href');
   jQuery.get(url, function( data ) {
     document.body.style.cursor = 'default';



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/4eb04441ac32130531564fa4f6dbb932db68509a...11bca1cb4db65dadb8c04b87d23b6b0ab40e17a5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150617/1b9c0577/attachment.html>


More information about the Noosfero-dev mailing list