diff options
Diffstat (limited to 'core/js/config.js')
-rw-r--r-- | core/js/config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/config.js b/core/js/config.js index 563df4e6632..52d1c3aee25 100644 --- a/core/js/config.js +++ b/core/js/config.js @@ -9,7 +9,7 @@ OC.AppConfig={ getCall:function(action,data,callback){ data.action=action; $.getJSON(OC.AppConfig.url,data,function(result){ - if(result.status='success'){ + if(result.status==='success'){ if(callback){ callback(result.data); } @@ -19,7 +19,7 @@ OC.AppConfig={ postCall:function(action,data,callback){ data.action=action; $.post(OC.AppConfig.url,data,function(result){ - if(result.status='success'){ + if(result.status==='success'){ if(callback){ callback(result.data); } |