summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/js')
-rw-r--r--apps/updatenotification/js/admin.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/updatenotification/js/admin.js b/apps/updatenotification/js/admin.js
index 3ca45a191d4..91d9f80b605 100644
--- a/apps/updatenotification/js/admin.js
+++ b/apps/updatenotification/js/admin.js
@@ -35,6 +35,11 @@ $(document).ready(function(){
body.removeAttr('id');
body.attr('id', 'body-settings');
}
+ },
+ error: function(){
+ OC.Notification.showTemporary(t('updatenotification', 'Could not start updater, please try the manual update'));
+ $('#oca_updatenotification_button').addClass('hidden');
+ $('#oca_updatenotification_section .button').removeClass('hidden');
}
});
});