typo
This commit is contained in:
parent
19243b3e91
commit
8113a43252
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue