* Finish task #3218.
This commit is contained in:
@@ -120,7 +120,7 @@ class custom extends control
|
||||
/* Fix bug #942. */
|
||||
if($field == 'priList' and !is_numeric($key)) die(js::alert($this->lang->custom->notice->priListKey));
|
||||
if($module == 'bug' and $field == 'severityList' and !is_numeric($key)) die(js::alert($this->lang->custom->notice->severityListKey));
|
||||
if(!empty($key) and !validater::checkCode($key)) die(js::alert($this->lang->custom->notice->keyList));
|
||||
if(!empty($key) and $key != 'n/a' and !validater::checkCode($key)) die(js::alert($this->lang->custom->notice->keyList));
|
||||
|
||||
/* the length of role is 20, check it when save. */
|
||||
if($module == 'user' and $field == 'roleList' and strlen($key) > 20) die(js::alert($this->lang->custom->notice->userRole));
|
||||
|
||||
@@ -21,10 +21,10 @@ class report extends control
|
||||
{
|
||||
$this->locate(inlink('productSummary'));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Project deviation report.
|
||||
*
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
$(document).ready(function()
|
||||
{
|
||||
setTimeout(function(){fixedTheadOfList('#bugAssign')}, 100);
|
||||
});
|
||||
@@ -1,3 +1,8 @@
|
||||
$(document).ready(function()
|
||||
{
|
||||
setTimeout(function(){fixedTheadOfList('#bug')}, 100);
|
||||
});
|
||||
|
||||
function changeParams(obj)
|
||||
{
|
||||
var begin = $('.main .row').find('#begin').val();
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
$(document).ready(function()
|
||||
{
|
||||
setTimeout(function(){fixedTheadOfList('#product')}, 100);
|
||||
});
|
||||
|
||||
$('#conditions input:checkbox').change(function()
|
||||
{
|
||||
var conditions = '';
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
$(document).ready(function()
|
||||
{
|
||||
setTimeout(function(){fixedTheadOfList('#projectList')}, 100);
|
||||
});
|
||||
|
||||
function changeDate(begin, end)
|
||||
{
|
||||
if(begin.indexOf('-') != -1)
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
$(document).ready(function()
|
||||
{
|
||||
setTimeout(function(){fixedTheadOfList('#workload')}, 100);
|
||||
});
|
||||
|
||||
function changeParams(obj)
|
||||
{
|
||||
var begin = $('.main .row').find('#begin').val();
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<span class='input-group-addon'><?php echo $lang->report->to;?></span>
|
||||
<div class='datepicker-wrapper datepicker-date'><?php echo html::input('date', $end, "class='form-control form-date' onchange='changeDate(\"$begin\", this.value)'");?></div>
|
||||
</div>
|
||||
<table class='table table-condensed table-striped table-bordered tablesorter table-fixed active-disabled'>
|
||||
<table class='table table-condensed table-striped table-bordered tablesorter table-fixed active-disabled' id='projectList'>
|
||||
<thead>
|
||||
<tr class='colhead'>
|
||||
<th class='w-id'><?php echo $lang->report->id;?></th>
|
||||
|
||||
Reference in New Issue
Block a user