Fix typo startswith -> startsWith

This commit is contained in:
Cédric Krier committed 2016-04-26 17:03:11 +02:00
1 parent 7ac86ddc2f
commit 8d2ce21998
1 file changed
+1 -1
+1 -1
View File
@@ -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);