summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-10 01:22:25 -0700
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-10 01:22:25 -0700
commit956a2335addcbb614c78151c57b109a4cf230c85 (patch)
tree6ba04155b8fd92be698380c68896fb83fa213298 /apps
parent2cdde7a56af3841d058974f50081ad8da5bff43d (diff)
parentf4ec5182bdeaa611d13648b50d24f80501d92acd (diff)
downloadnextcloud-server-956a2335addcbb614c78151c57b109a4cf230c85.tar.gz
nextcloud-server-956a2335addcbb614c78151c57b109a4cf230c85.zip
Merge pull request #4647 from owncloud/fix_4619
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 e9b07518bab..970aad1f978 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -344,6 +344,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();
});