diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-17 09:19:21 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-17 09:21:17 +0100 |
commit | a9a3947e6177cc8f1e379e55453bf0d54ac0b01c (patch) | |
tree | d30508bb299b088272752af16cf6835bb55d49f7 /core/js | |
parent | e1fd86ccb6a7b4e3d705829a5eb6c27b5085b4cd (diff) | |
download | nextcloud-server-a9a3947e6177cc8f1e379e55453bf0d54ac0b01c.tar.gz nextcloud-server-a9a3947e6177cc8f1e379e55453bf0d54ac0b01c.zip |
Do not clear sharee input on failed share
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/sharedialogview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index b406299a075..4412d139c3f 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -283,8 +283,8 @@ .removeClass('inlineblock'); }, error: function(obj, msg) { OC.Notification.showTemporary(msg); - $(e.target).val('') - .attr('disabled', false); + $(e.target).attr('disabled', false) + .autocomplete('search', $(e.target).val()); $loading.addClass('hidden') .removeClass('inlineblock'); }}); |