diff --git a/src/rpc.js b/src/rpc.js index cac94e79f7..361892bf68 100644 --- a/src/rpc.js +++ b/src/rpc.js @@ -83,7 +83,7 @@ 'glyphicon-alert').always(dfd.reject); return; } - } else if (data.error[0].startswith('403')) { + } else if (data.error[0].startsWith('403')) { //Try to relog Sao.Session.renew(session).then(function() { Sao.rpc(args, session).then(dfd.resolve, dfd.reject);