aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-04-14 13:16:37 +0200
committerRobin Appelman <icewind@owncloud.com>2012-04-14 13:16:37 +0200
commit386663ddb64453690ff12b739a1ad564dddeb1ed (patch)
treec3025d12fabc975373bd2c554c8346e854443b22
parentd8864d4f4bd54a314b1d7c7945578b95f24477d1 (diff)
downloadnextcloud-server-386663ddb64453690ff12b739a1ad564dddeb1ed.tar.gz
nextcloud-server-386663ddb64453690ff12b739a1ad564dddeb1ed.zip
swap enable and dissable error messages
-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 0f9181a2c75..bd7a8e9f84c 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -30,14 +30,14 @@ $(document).ready(function(){
if(active){
$.post(OC.filePath('settings','ajax','disableapp.php'),{appid:app},function(result){
if(!result || result.status!='succes'){
- OC.dialogs.alert('Error','Error while enabling app');
+ OC.dialogs.alert('Error','Error while disabling app');
}
},'json');
$('#leftcontent li[data-id="'+app+'"]').removeClass('active');
}else{
$.post(OC.filePath('settings','ajax','enableapp.php'),{appid:app},function(result){
if(!result || result.status!='succes'){
- OC.dialogs.alert('Error','Error while disabling app');
+ OC.dialogs.alert('Error','Error while enabling app');
}
},'json');
$('#leftcontent li[data-id="'+app+'"]').addClass('active');