From 8bd0ccbdf8439ed18ddf1b26c42b2b6522ae1db9 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Mon, 27 Oct 2014 15:37:41 -0500 Subject: [PATCH] Fix change ticket status on some versions of IE --- include/staff/templates/ticket-status.tmpl.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/include/staff/templates/ticket-status.tmpl.php b/include/staff/templates/ticket-status.tmpl.php index c033e0caa..5e0d84ae3 100644 --- a/include/staff/templates/ticket-status.tmpl.php +++ b/include/staff/templates/ticket-status.tmpl.php @@ -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> -- GitLab