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:
commit
956a2335ad
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue