summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-11 11:31:33 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-11 11:31:33 +0100
commit05f9b4041942794eab74328b95bfbf04c7c9e203 (patch)
tree9eb07bc699735bfaaa94659912848ec2605a4d35
parent94cf9e56b6c723c0dcc3c46cf66d6aaf3eaeecf3 (diff)
parent0249911536a34b664695f749fb71fdb2e1c9aafe (diff)
downloadnextcloud-server-05f9b4041942794eab74328b95bfbf04c7c9e203.tar.gz
nextcloud-server-05f9b4041942794eab74328b95bfbf04c7c9e203.zip
Merge pull request #21589 from owncloud/mobile-webDAV-select
webDAV select bug fixed
-rw-r--r--apps/files/js/files.js5
1 files 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'});