From 0249911536a34b664695f749fb71fdb2e1c9aafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20M=C3=BCller?= Date: Sun, 10 Jan 2016 18:14:02 +0100 Subject: [PATCH] webDAV select bug fixed --- apps/files/js/files.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 6bf4a4cfe5a..3b70e283749 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -271,8 +271,9 @@ } - $('#webdavurl').on('click', function () { - $('#webdavurl').select(); + $('#webdavurl').on('click touchstart', function () { + this.focus(); + this.setSelectionRange(0, this.value.length); }); $('#upload').tooltip({placement:'right'});