Workaround for IE 9 & 10 for clicking filelist after adding new item

This commit is contained in:
ringmaster 2013-08-29 12:05:20 -04:00
parent 0104d3df96
commit f4ec5182bd
1 changed files with 3 additions and 0 deletions

View File

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