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

pull/172/head
Thomas Bruederli 11 years ago
parent c42fc0fff6
commit 34ddfcecef

@ -6119,7 +6119,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