Add loading icon

feature/node-rewrite
Sven Slootweg 13 years ago
parent 7efd395cc1
commit 2c7fad37c0

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

@ -0,0 +1,17 @@
var command_running = false;
$(function(){
$('.button-loader').click(function(){
if(command_running === false)
{
$('.button-loader').addClass('disabled').click(function(event){
event.preventDefault();
event.stopPropagation();
return false;
});
$(this).children('.button-icon').addClass('running')[0].src = "images/loading.gif";
command_running = true;
}
});
});

Binary file not shown.
Loading…
Cancel
Save