From be8afc2c12efcc6734ce813e12fefeb792d04867 Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Tue, 15 Sep 2015 14:38:28 +0100 Subject: Reset mountpoint input field when creating new mount --- apps/files_external/js/settings.js | 1 + 1 file changed, 1 insertion(+) (limited to 'apps') diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 586b9af7a88..3152c644b32 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -701,6 +701,7 @@ MountConfigListView.prototype = _.extend({ var storageConfig = new this._storageConfigClass(); storageConfig.mountPoint = $tr.find('.mountPoint input').val(); storageConfig.backend = $target.val(); + $tr.find('.mountPoint input').val(''); $tr = this.newStorage(storageConfig); -- cgit v1.2.3