Workaround for IE 9 & 10 for clicking filelist after adding new item
This commit is contained in:
parent
0104d3df96
commit
f4ec5182bd
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue