Browse Source

Merge pull request #563 from matthewperry/7.x-LIB-38

7.x lib 38
pull/564/head
Jordan Dukart 10 years ago
parent
commit
682372fb63
  1. 3
      js/spinner.js

3
js/spinner.js

@ -22,6 +22,8 @@
}); });
for (var base in settings.spinner) { for (var base in settings.spinner) {
var id = '#' + base; var id = '#' + base;
// Don't add spinner to the hidden next/ingest button.
if (id != '#edit-hidden-next') {
$(id, context).once('spinner', function () { $(id, context).once('spinner', function () {
var spinner = new Spinner(settings.spinner[base].opts); var spinner = new Spinner(settings.spinner[base].opts);
$(id).parents('form').one('submit', function (event) { $(id).parents('form').one('submit', function (event) {
@ -54,5 +56,6 @@
}); });
} }
} }
}
}; };
})(jQuery); })(jQuery);

Loading…
Cancel
Save