aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/sharedialogview.js4
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');
}});