Skip to content
Snippets Groups Projects
Commit 8bd0ccbd authored by Jared Hancock's avatar Jared Hancock
Browse files

Fix change ticket status on some versions of IE

parent a81bc370
No related branches found
No related tags found
No related merge requests found
......@@ -110,9 +110,12 @@ $action = $info['action'] ?: ('#tickets/status/'. $state);
$(function() {
// Copy checked tickets to status form.
$('form#tickets input[name="tids[]"]:checkbox:checked')
.clone()
.prop('type', 'hidden')
.removeAttr('class')
.appendTo('form#status');
});
.each(function() {
$('<input>')
.prop('type', 'hidden')
.attr('name', 'tids[]')
.val($(this).val())
.appendTo('form#status');
});
});
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment