Browse Source
Theming: Fix message/loading display on errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/6585/head
Julius Härtl
8 years ago
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
2 changed files with
3 additions and
0 deletions
-
apps/theming/css/settings-admin.css
-
apps/theming/js/settings-admin.js
|
|
|
@ -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(); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
|