Merge pull request #4647 from owncloud/fix_4619

Workaround for IE 9 & 10 for clicking filelist after adding new item
This commit is contained in:
Thomas Müller 2013-09-10 01:22:25 -07:00
commit 956a2335ad

View file

@ -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();
});