Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added auto relogin if front-end crashes

fixed production to kill app after set amount of time
  • Loading branch information...
commit b00f1ccda6c4e97858e0f7065af203dffcc2fe92 1 parent 28cbfdc
@matthewfl matthewfl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Bespin/control.js
View
2  Bespin/control.js
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.