diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-06-29 11:09:17 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-06-29 11:10:51 -0400 |
commit | 2d49a491fb740625ef56f6791669584e5ae49927 (patch) | |
tree | 7dcec3f5b0cb3d8c63a9ad3b3bcc4bdbb3ab78f4 /apps/files_external | |
parent | f311c2a2ff0155a457097346b6b7011e0db4df64 (diff) | |
download | nextcloud-server-2d49a491fb740625ef56f6791669584e5ae49927.tar.gz nextcloud-server-2d49a491fb740625ef56f6791669584e5ae49927.zip |
Clear the mount point value for the new mount point row
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/js/settings.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 23d5c2f6301..1c366a79c7a 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -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); |