diff options
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/files.js | 4 | ||||
-rw-r--r-- | www/js/views/fms.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/www/js/files.js b/www/js/files.js index eea38c3..6d7ea26 100644 --- a/www/js/files.js +++ b/www/js/files.js @@ -124,7 +124,7 @@ function moveFile (src, dest, newName) { - FMS.printDebug( 'moveing file ' + src.fullPath + ' to ' + dest.fullPath ); + FMS.printDebug( 'moving file ' + src.fullPath + ' to ' + dest.fullPath ); var move = $.Deferred(); @@ -166,7 +166,7 @@ var file = $.Deferred(); - window.resolveLocalFileSystemURI( uri, file.resolve, file.reject); + window.resolveLocalFileSystemURL( uri, file.resolve, file.reject); return file.promise(); } diff --git a/www/js/views/fms.js b/www/js/views/fms.js index 6ff569b..aef854f 100644 --- a/www/js/views/fms.js +++ b/www/js/views/fms.js @@ -107,7 +107,7 @@ $('.form-error').removeClass('form-error'); }, - destroy: function() { FMS.printDebug('destory for ' + this.id); this._destroy(); this.remove(); }, + destroy: function() { FMS.printDebug('destroy for ' + this.id); this._destroy(); this.remove(); }, _destroy: function() {} }) |