Skip to content
Snippets Groups Projects
Commit 31609f51 authored by Jared Hancock's avatar Jared Hancock Committed by Peter Rotich
Browse files

queue: Fix crash and inability to mass assign

parent 7e6e203a
Branches
Tags
No related merge requests found
......@@ -213,7 +213,7 @@ class Form {
function emitJavascript($options=array()) {
// Check if we need to emit javascript
if (!($fid=$this->getId()))
if (!($fid=$this->getFormId()))
return;
?>
<script type="text/javascript">
......
......@@ -28,7 +28,7 @@ $action = $info[':action'] ?: ('#');
<div style="display:block; margin:5px;">
<form class="mass-action" method="post"
name="assign"
id="<?php echo $form->getId(); ?>"
id="<?php echo $form->getFormId(); ?>"
action="<?php echo $action; ?>">
<table width="100%">
<?php
......
......@@ -157,7 +157,8 @@ foreach ($columns as $C) {
foreach ($tickets as $T) {
echo '<tr>';
if ($canManageTickets) { ?>
<td><input type="checkbox" class="ckb" name="ckb[]" /></td>
<td><input type="checkbox" class="ckb" name="tids[]"
value="<?php echo $T['ticket_id']; ?>" /></td>
<?php
}
foreach ($columns as $C) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment