mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-05-20 09:20:46 +02: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
|
/* Until jQuery includes some 'livequery' functionality in the core
|
||||||
distribution, this will have to do. */
|
distribution, this will have to do. */
|
||||||
$(".AddAnotherFile>a").click(function() {
|
$(".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>");
|
$("#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();
|
processAddFileClick();
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user