diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/apps.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index bd7a8e9f84c..12d09ac69db 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -29,14 +29,14 @@ $(document).ready(function(){ if(app){ if(active){ $.post(OC.filePath('settings','ajax','disableapp.php'),{appid:app},function(result){ - if(!result || result.status!='succes'){ + if(!result || result.status!='success'){ 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'){ + if(!result || result.status!='success'){ OC.dialogs.alert('Error','Error while enabling app'); } },'json'); |