aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorringmaster <epithet@gmail.com>2013-08-29 12:05:20 -0400
committerringmaster <epithet@gmail.com>2013-08-29 12:06:07 -0400
commitf4ec5182bdeaa611d13648b50d24f80501d92acd (patch)
tree01a806e8c287b2b8feb194d97c3a97de3f296145 /apps
parent0104d3df960c9b834e8b56b654acfc16c3a7bdd8 (diff)
downloadnextcloud-server-f4ec5182bdeaa611d13648b50d24f80501d92acd.tar.gz
nextcloud-server-f4ec5182bdeaa611d13648b50d24f80501d92acd.zip
Workaround for IE 9 & 10 for clicking filelist after adding new item
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/file-upload.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index 1e6ab74fb6d..a6cb13572d2 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -342,6 +342,9 @@ $(document).ready(function() {
}
var li=form.parent();
form.remove();
+ /* workaround for IE 9&10 click event trap, 2 lines: */
+ $('input').first().focus();
+ $('#content').focus();
li.append('<p>'+li.data('text')+'</p>');
$('#new>a').click();
});