Reset mountpoint input field when creating new mount
This commit is contained in:
parent
6a2e7632d1
commit
be8afc2c12
|
@ -701,6 +701,7 @@ MountConfigListView.prototype = _.extend({
|
||||||
var storageConfig = new this._storageConfigClass();
|
var storageConfig = new this._storageConfigClass();
|
||||||
storageConfig.mountPoint = $tr.find('.mountPoint input').val();
|
storageConfig.mountPoint = $tr.find('.mountPoint input').val();
|
||||||
storageConfig.backend = $target.val();
|
storageConfig.backend = $target.val();
|
||||||
|
$tr.find('.mountPoint input').val('');
|
||||||
|
|
||||||
$tr = this.newStorage(storageConfig);
|
$tr = this.newStorage(storageConfig);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue