Permalink
Browse files

Added auto relogin if front-end crashes

fixed production to kill app after set amount of time
  • Loading branch information...
1 parent 28cbfdc commit b00f1ccda6c4e97858e0f7065af203dffcc2fe92 @matthewfl matthewfl committed Oct 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Bespin/control.js
View
@@ -152,7 +152,7 @@ exports.openCommand = function (args, request) {
exports.saveCommand = function (args, request) {
if(!userToken) return requst.done("Not logedin");
- if(loadFile == null && (!('file' in args) || args['file']=="")) {
+ if(!loadFile && (!('file' in args) || args['file']=="")) {
env.commandLine.setInput('save ');
return;
}

0 comments on commit b00f1cc

Please sign in to comment.