Zeile 15 | Zeile 15 |
---|
*/ function init() { for (var i = 0; i < attachedCount; ++i) {
|
*/ function init() { for (var i = 0; i < attachedCount; ++i) {
|
$("#delete_img_" + i).click(removeAttachmentBox);
| $("#delete_img_" + i).on('click', removeAttachmentBox);
|
}
|
}
|
$("#new_specific_file").click(addAttachmentBox);
| $("#new_specific_file").on('click', addAttachmentBox);
|
}
/**
| }
/**
|
Zeile 52 | Zeile 52 |
---|
checkAction('action_' + attachedCount);
if ($("#attached_form_" + attachedCount)) {
|
checkAction('action_' + attachedCount);
if ($("#attached_form_" + attachedCount)) {
|
$("#delete_img_" + attachedCount).click(removeAttachmentBox);
| $("#delete_img_" + attachedCount).on('click', removeAttachmentBox);
|
} ++attachedCount; }
| } ++attachedCount; }
|