Commit f837d4527157536f7925de4374a353e882ce450e
Exists in
staging
and in
26 other branches
Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
public/javascripts/application.js
@@ -836,9 +836,12 @@ Array.min = function(array) { | @@ -836,9 +836,12 @@ Array.min = function(array) { | ||
836 | }; | 836 | }; |
837 | 837 | ||
838 | function hideAndGetUrl(link) { | 838 | function hideAndGetUrl(link) { |
839 | + document.body.style.cursor = 'wait'; | ||
839 | link.hide(); | 840 | link.hide(); |
840 | url = jQuery(link).attr('href'); | 841 | url = jQuery(link).attr('href'); |
841 | - jQuery.get(url); | 842 | + jQuery.get(url, function( data ) { |
843 | + document.body.style.cursor = 'default'; | ||
844 | + }); | ||
842 | } | 845 | } |
843 | 846 | ||
844 | jQuery(function($){ | 847 | jQuery(function($){ |