Lines Matching refs:error
96 StorageFile.prototype.save = function(revision, success, error) argument
98 this.saveAs(this.getTitle(), success, error);
107 StorageFile.prototype.saveAs = function(title, success, error) argument
110 this.saveFile(title, false, success, error);
119 StorageFile.insertFile = function(ui, title, data, success, error) argument
131 }, error);
136 ui.confirm(mxResources.get('replaceIt', [title]), fn, error);
159 StorageFile.getFileContent = function(ui, title, success, error) argument
171 else if (error != null)
173 error();
184 StorageFile.getFileInfo = function(ui, title, success, error) argument
199 else if (error != null)
201 error();
212 StorageFile.prototype.saveFile = function(title, revision, success, error) argument
260 else if (error != null)
262 error();
268 if (error != null)
270 error(e);
276 if (this.isRenamable() && title.charAt(0) == '.' && error != null)
278 error({message: mxResources.get('invalidName')});
290 this.ui.confirm(mxResources.get('replaceIt', [title]), fn, error);
292 }), error);
303 StorageFile.prototype.rename = function(title, success, error) argument
324 }), error);
329 this.ui.confirm(mxResources.get('replaceIt', [title]), fn, error);
335 }), error);
358 StorageFile.prototype.getLatestVersion = function(success, error) argument
363 }), error);
448 StorageFile.listFiles = function(ui, type, success, error) argument
472 else if (error != null)
474 error();
485 StorageFile.deleteFile = function(ui, title, success, error) argument
494 else if (error != null)
496 error();