aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-06-12 17:33:55 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-12-01 14:46:03 +0000
commit1ba7efee04d47d69ffa53261ca4238e43158fa4c (patch)
treecad853975d5f516aba4a2a97a8abae881a80b2c7
parent2d79df9f71256880dbc237d36335213e7f6dd8d1 (diff)
Fix a couple of typos & deprecated function call
-rw-r--r--www/js/files.js4
-rw-r--r--www/js/views/fms.js2
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() {}
})