Fix typo startswith -> startsWith

This commit is contained in:
C?dric Krier 2016-04-26 17:03:11 +02:00
parent a91bddae79
commit e0b76ceabe

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);