diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-09-21 11:35:40 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-10-03 15:32:50 +0200 |
commit | 9651c1abffa0134b11b7637de76ceb4e3ffae79e (patch) | |
tree | 1aee46342f0066586aca8526b98c43491ebd3159 /apps/theming | |
parent | c0d104087b28316281bcda65262e03856b89bed7 (diff) | |
download | nextcloud-server-9651c1abffa0134b11b7637de76ceb4e3ffae79e.tar.gz nextcloud-server-9651c1abffa0134b11b7637de76ceb4e3ffae79e.zip |
Theming: Fix message/loading display on errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming')
-rw-r--r-- | apps/theming/css/settings-admin.css | 1 | ||||
-rw-r--r-- | apps/theming/js/settings-admin.js | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/theming/css/settings-admin.css b/apps/theming/css/settings-admin.css index b32ed189ceb..7270ec59b83 100644 --- a/apps/theming/css/settings-admin.css +++ b/apps/theming/css/settings-admin.css @@ -78,6 +78,7 @@ form.uploadButton { #theming_settings_msg { vertical-align: middle; + border-radius: 3px; } #theming-preview-logo { diff --git a/apps/theming/js/settings-admin.js b/apps/theming/js/settings-admin.js index d9e66284d14..44a799a19b4 100644 --- a/apps/theming/js/settings-admin.js +++ b/apps/theming/js/settings-admin.js @@ -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(); } }; |