Add button for restarting filemon
although this button shows up only on the datasync page, for now..
This commit is contained in:
parent
fc8391c6d1
commit
2131ea65cb
4 changed files with 89 additions and 23 deletions
|
@ -32,9 +32,12 @@ function disable_filter_options() {
|
|||
function disable_button(button, label) {
|
||||
$(button).button('disable');
|
||||
if (label === undefined) {
|
||||
label = "Working, please wait...";
|
||||
label = $(button).data('working-label') || "Working, please wait...";
|
||||
}
|
||||
if (label) {
|
||||
if (label.slice(-3) != '...') {
|
||||
label += '...';
|
||||
}
|
||||
$(button).button('option', 'label', label);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue