Add view for consuming new batch ID; misc. tweaks for grids etc.

This commit is contained in:
Lance Edgar 2017-08-02 19:16:45 -05:00
parent 6ae129ea24
commit 8186366b69
5 changed files with 76 additions and 38 deletions

View file

@ -27,13 +27,16 @@ function disable_filter_options() {
/*
* Convenience function to disable a form button.
* Convenience function to disable a UI button.
*/
function disable_button(button, label) {
if (label) {
$(button).html(label + ", please wait...");
$(button).button('disable');
if (label === undefined) {
label = "Working, please wait...";
}
if (label) {
$(button).button('option', 'label', label);
}
$(button).attr('disabled', 'disabled');
}