mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 09:23:39 +01:00
Fix IE hang when addint multiple files to a ticket. Fixes Google Code issue #133; Github issue #7. Thanks to Google Code user 'dswoods' for the patch.
This commit is contained in:
parent
bd89c1c7de
commit
b68bd73d07
@ -30,7 +30,7 @@
|
||||
/* Until jQuery includes some 'livequery' functionality in the core
|
||||
distribution, this will have to do. */
|
||||
$(".AddAnotherFile>a").click(function() {
|
||||
$(this).parent().hide();
|
||||
$(this).parent().remove();
|
||||
$("#FileUpload>dl").append("<dt><label>{% trans "Attach another File" %}</label></dt><dd><input type='file' name='attachment' id='file' /> <span class='AddAnotherFile'>(<a href='#'>{% trans "Add Another File" %}</a>)</span></dd>");
|
||||
processAddFileClick();
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user