git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d219e1e
)
'saving' message and disable button to prevent multi-click
author
Scott Baker
<smbaker@gmail.com>
Wed, 21 May 2014 17:10:55 +0000
(10:10 -0700)
committer
Scott Baker
<smbaker@gmail.com>
Wed, 21 May 2014 17:10:55 +0000
(10:10 -0700)
planetstack/templates/admin/dashboard/customize.html
patch
|
blob
|
history
diff --git
a/planetstack/templates/admin/dashboard/customize.html
b/planetstack/templates/admin/dashboard/customize.html
index
3f1d2c6
..
274040e
100644
(file)
--- a/
planetstack/templates/admin/dashboard/customize.html
+++ b/
planetstack/templates/admin/dashboard/customize.html
@@
-65,6
+65,8
@@
$(document).ready(function() {
});
\r
});
\r
$('#btn-save').bind('click', function() {
\r
+ $( "#btn-save").unbind()
\r
+ $( "#btn-save" ).html("<div class='loading'>Saving ...</div>");
\r
var items=[];
\r
$("#select-to option").each(function() { items.push($(this).val()); });
\r
$.ajax({
\r