Fix input-button disabled state; add support for jquery UI buttons of type 'uibutton'

pull/181/head
Thomas Bruederli 10 years ago
parent 5ba53819cf
commit 238c6a0f55

@ -6113,7 +6113,10 @@ function rcube_webmail()
// disable/enable input buttons
if (button.type == 'input') {
button.status = state;
obj.disabled = !state;
obj.disabled = state == 'pas';
}
else if (button.type == 'uibutton') {
$(obj).button('option', 'disabled', state == 'pas');
}
}
};

Loading…
Cancel
Save