noosfero | 2 new commits pushed to repository
Bráulio Bhavamitra
gitlab at gitlab.com
Fri Jan 30 17:24:25 BRST 2015
Bráulio Bhavamitra pushed to refs/heads/master at <a href="https://gitlab.com/noosfero/noosfero">Noosfero / noosfero</a>
Commits:
<a href="https://gitlab.com/noosfero/noosfero/commit/ca695c12411cd2e0ad5a3f51f559aff3df93015f">ca695c12</a> by Leandro Nunes dos Santos
add the wait cursor when the user try to load comments
- - - - -
<a href="https://gitlab.com/noosfero/noosfero/commit/c5265b67397dd6f6f56ea07a74c2731177e15711">c5265b67</a> by Bráulio Bhavamitra
Merge branch 'comment-wait-cursor' into 'master'
Add the wait cursor when the user try to load comments
http://noosfero.org/Development/ActionItem2947
See merge request !87
- - - - -
Changes:
=====================================
public/javascripts/application.js
=====================================
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -836,9 +836,12 @@ Array.min = function(array) {
};
function hideAndGetUrl(link) {
+ document.body.style.cursor = 'wait';
link.hide();
url = jQuery(link).attr('href');
- jQuery.get(url);
+ jQuery.get(url, function( data ) {
+ document.body.style.cursor = 'default';
+ });
}
jQuery(function($){
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150130/c9a38cfb/attachment.html>
More information about the Noosfero-dev
mailing list