aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorJulian Müller <julian.mueller.ffb@kabelmail.de>2016-01-10 18:14:02 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-11 08:41:16 +0100
commit0249911536a34b664695f749fb71fdb2e1c9aafe (patch)
tree81cf52746e728ba75c996ac5053c32d945c8fdb8 /apps/files/js/files.js
parent77a8085f8470164c22af8c1533cee94876c9544d (diff)
downloadnextcloud-server-0249911536a34b664695f749fb71fdb2e1c9aafe.tar.gz
nextcloud-server-0249911536a34b664695f749fb71fdb2e1c9aafe.zip
webDAV select bug fixed
Diffstat (limited to 'apps/files/js/files.js')
-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'});