refs #4974 Solved bug app open error
This commit is contained in:
parent
cc79a76120
commit
1a6f22e539
|
@ -405,6 +405,7 @@ var App = {
|
|||
);
|
||||
},
|
||||
onVersionRequest: function(err, res) {
|
||||
try {
|
||||
if (err)
|
||||
throw new Error ('Version could not be retrieved: '+ err.message +': ');
|
||||
|
||||
|
@ -418,6 +419,7 @@ var App = {
|
|||
throw new Error(_('Application it\'s already open'));
|
||||
}
|
||||
|
||||
|
||||
// Checks if MDB exists
|
||||
if (!this.fso.fileExists(this.mdbFile))
|
||||
lastVersion = res.version;
|
||||
|
@ -457,6 +459,10 @@ var App = {
|
|||
request.send();
|
||||
} else
|
||||
App.openMdb();
|
||||
}
|
||||
catch (err) {
|
||||
this.catchError(err);
|
||||
}
|
||||
},
|
||||
mdbGetValue: function(query, field, parseFn) {
|
||||
var value;
|
||||
|
|
Loading…
Reference in New Issue