Theming: Fix message/loading display on errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
c0d104087b
commit
9651c1abff
|
@ -78,6 +78,7 @@ form.uploadButton {
|
|||
|
||||
#theming_settings_msg {
|
||||
vertical-align: middle;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#theming-preview-logo {
|
||||
|
|
|
@ -141,6 +141,7 @@ $(document).ready(function () {
|
|||
fail: function (e, response){
|
||||
OC.msg.finishedError('#theming_settings_msg', response._response.jqXHR.responseJSON.data.message);
|
||||
$('label#uploadlogo').addClass('icon-upload').removeClass('icon-loading-small');
|
||||
$('#theming_settings_loading').hide();
|
||||
}
|
||||
};
|
||||
var uploadParamsLogin = {
|
||||
|
@ -159,6 +160,7 @@ $(document).ready(function () {
|
|||
fail: function (e, response){
|
||||
$('label#upload-login-background').removeClass('icon-loading-small').addClass('icon-upload');
|
||||
OC.msg.finishedError('#theming_settings_msg', response._response.jqXHR.responseJSON.data.message);
|
||||
$('#theming_settings_loading').hide();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue