Skip to content

Commit

Permalink
shifted the form around to make sure we get the boxes clicked as expe…
Browse files Browse the repository at this point in the history
…cted
  • Loading branch information
caseysoftware committed Mar 31, 2014
1 parent 47be254 commit 1a69747
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
10 changes: 0 additions & 10 deletions modules/projectdesigner/vw_actions.php
Expand Up @@ -75,16 +75,6 @@
$percent = array(0 => '0', 5 => '5', 10 => '10', 15 => '15', 20 => '20', 25 => '25', 30 => '30', 35 => '35', 40 => '40', 45 => '45', 50 => '50', 55 => '55', 60 => '60', 65 => '65', 70 => '70', 75 => '75', 80 => '80', 85 => '85', 90 => '90', 95 => '95', 100 => '100');
$spercent = arrayMerge(array('' => '('.$AppUI->_('Progress').')'), $percent);
?>
<form name="frm_bulk" method="post" action="?m=projectdesigner" accept-charset="utf-8">
<input type="hidden" name="dosql" value="do_task_bulk_aed" />
<input type="hidden" name="project_id" value="<?php echo $project_id; ?>" />
<input type="hidden" name="pd_option_view_project" value="<?php echo (isset($view_options[0]['pd_option_view_project']) ? $view_options[0]['pd_option_view_project'] : 1); ?>" />
<input type="hidden" name="pd_option_view_gantt" value="<?php echo (isset($view_options[0]['pd_option_view_gantt']) ? $view_options[0]['pd_option_view_gantt'] : 1); ?>" />
<input type="hidden" name="pd_option_view_tasks" value="<?php echo (isset($view_options[0]['pd_option_view_tasks']) ? $view_options[0]['pd_option_view_tasks'] : 1); ?>" />
<input type="hidden" name="pd_option_view_actions" value="<?php echo (isset($view_options[0]['pd_option_view_actions']) ? $view_options[0]['pd_option_view_actions'] : 1); ?>" />
<input type="hidden" name="pd_option_view_addtasks" value="<?php echo (isset($view_options[0]['pd_option_view_addtasks']) ? $view_options[0]['pd_option_view_addtasks'] : 1); ?>" />
<input type="hidden" name="pd_option_view_files" value="<?php echo (isset($view_options[0]['pd_option_view_files']) ? $view_options[0]['pd_option_view_files'] : 1); ?>" />
<input type="hidden" name="bulk_task_hperc_assign" value="" />
<table id="tbl_bulk" width="100%" class="well">
<tr>
<th width="15%"><?php echo $AppUI->_('Start Date'); ?>&nbsp;</th>
Expand Down
13 changes: 11 additions & 2 deletions modules/projectdesigner/vw_tasks.php
Expand Up @@ -204,7 +204,17 @@
$listTable->addBefore('pin', 'task_id');
$listTable->addBefore('log', 'task_id');
?>
<form name="frm_tasks" accept-charset="utf-8"">
<form name="frm_bulk" method="post" action="?m=projectdesigner" accept-charset="utf-8">
<input type="hidden" name="dosql" value="do_task_bulk_aed" />
<input type="hidden" name="project_id" value="<?php echo $project_id; ?>" />
<input type="hidden" name="pd_option_view_project" value="<?php echo (isset($view_options[0]['pd_option_view_project']) ? $view_options[0]['pd_option_view_project'] : 1); ?>" />
<input type="hidden" name="pd_option_view_gantt" value="<?php echo (isset($view_options[0]['pd_option_view_gantt']) ? $view_options[0]['pd_option_view_gantt'] : 1); ?>" />
<input type="hidden" name="pd_option_view_tasks" value="<?php echo (isset($view_options[0]['pd_option_view_tasks']) ? $view_options[0]['pd_option_view_tasks'] : 1); ?>" />
<input type="hidden" name="pd_option_view_actions" value="<?php echo (isset($view_options[0]['pd_option_view_actions']) ? $view_options[0]['pd_option_view_actions'] : 1); ?>" />
<input type="hidden" name="pd_option_view_addtasks" value="<?php echo (isset($view_options[0]['pd_option_view_addtasks']) ? $view_options[0]['pd_option_view_addtasks'] : 1); ?>" />
<input type="hidden" name="pd_option_view_files" value="<?php echo (isset($view_options[0]['pd_option_view_files']) ? $view_options[0]['pd_option_view_files'] : 1); ?>" />
<input type="hidden" name="bulk_task_hperc_assign" value="" />

<?php
echo $listTable->startTable();

Expand All @@ -226,6 +236,5 @@

echo $listTable->endTable();
?>
</form>
<?php
include $AppUI->getTheme()->resolveTemplate('task_key');

0 comments on commit 1a69747

Please sign in to comment.