Clear the mount point value for the new mount point row
This commit is contained in:
parent
f311c2a2ff
commit
2d49a491fb
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ $(document).ready(function() {
|
|||
|
||||
$('#selectBackend').live('change', function() {
|
||||
var tr = $(this).parent().parent();
|
||||
$('#externalStorage tbody').last().append($(tr).clone());
|
||||
$('#externalStorage tbody').append($(tr).clone());
|
||||
$('#externalStorage tbody tr').last().find('.mountPoint input').val('');
|
||||
var selected = $(this).find('option:selected').text();
|
||||
var backendClass = $(this).val();
|
||||
$(this).parent().text(selected);
|
||||
|
|
Loading…
Reference in a new issue