diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-06-20 16:52:10 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-20 16:52:10 -0700 |
commit | 892727830d873a9f0a1a49f10ee14b0890088b23 (patch) | |
tree | 722c1abb31a00c2915e1886f45c7c671e9277255 /modules/gallery/js | |
parent | 9b4d9d1d4604c9d65b1629b0e95eaa0c75e0a257 (diff) |
Add a loading indicator to the delete form by tagging some JS on at
the end which triggers .gallery_show_loading(). Not a complete fix
for #817 but it's a start and it takes care of one place where we have
a long running process.
Diffstat (limited to 'modules/gallery/js')
-rw-r--r-- | modules/gallery/js/item_form_delete.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gallery/js/item_form_delete.js b/modules/gallery/js/item_form_delete.js new file mode 100644 index 00000000..fa3f24a2 --- /dev/null +++ b/modules/gallery/js/item_form_delete.js @@ -0,0 +1,5 @@ +$("#g-confirm-delete").submit( + function() { + $("#g-confirm-delete input[type=submit]").gallery_show_loading(); + } +); |