summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-26 20:37:10 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-26 20:37:10 +0200
commit982cde0bb1a9230b793f7341eba5d8117c48ca0b (patch)
treec19b364087bf00a6f91ba372d17ece48b42faa99 /settings
parenta945fa10a639cdee9e5e712cd48e8c911a8d9821 (diff)
downloadnextcloud-server-982cde0bb1a9230b793f7341eba5d8117c48ca0b.tar.gz
nextcloud-server-982cde0bb1a9230b793f7341eba5d8117c48ca0b.zip
check during ownCloud upgrade if all the installed apps are compatible with the new ownCloud version. Disable them if not
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 8aa54463b3b..f6e08b608bd 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -41,7 +41,7 @@ $(document).ready(function(){
if(active){
$.post(OC.filePath('settings','ajax','disableapp.php'),{appid:app},function(result){
if(!result || result.status!='success'){
- OC.dialogs.alert('Error','Error while disabling app');
+ OC.dialogs.alert('Error while disabling app','Error');
}
else {
element.data('active',false);
@@ -54,7 +54,7 @@ $(document).ready(function(){
}else{
$.post(OC.filePath('settings','ajax','enableapp.php'),{appid:app},function(result){
if(!result || result.status!='success'){
- OC.dialogs.alert('Error','Error while enabling app');
+ OC.dialogs.alert('Error while enabling app','Error');
}
else {
element.data('active',true);