Reset mountpoint input field when creating new mount

This commit is contained in:
Robin McCorkell 2015-09-15 14:38:28 +01:00
parent 6a2e7632d1
commit be8afc2c12
1 changed files with 1 additions and 0 deletions

View File

@ -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);