* change report UI.
This commit is contained in:
@@ -178,7 +178,6 @@ class bug extends control
|
||||
{
|
||||
$this->loadModel('report');
|
||||
$this->view->charts = array();
|
||||
$this->view->renderJS = '';
|
||||
|
||||
if(!empty($_POST))
|
||||
{
|
||||
@@ -189,11 +188,9 @@ class bug extends control
|
||||
$chartOption = $this->lang->bug->report->$chart;
|
||||
$this->bug->mergeChartOption($chart);
|
||||
|
||||
$chartXML = $this->report->createSingleXML($chartData, $chartOption->graph);
|
||||
$this->view->charts[$chart] = $this->report->createJSChart($chartOption->swf, $chartXML, $chartOption->width, $chartOption->height);
|
||||
$this->view->charts[$chart] = $chartOption;
|
||||
$this->view->datas[$chart] = $this->report->computePercent($chartData);
|
||||
}
|
||||
$this->view->renderJS = $this->report->renderJsCharts(count($this->view->charts));
|
||||
}
|
||||
|
||||
$this->bug->setMenu($this->products, $productID);
|
||||
|
||||
Reference in New Issue
Block a user