* Fix bug #42148,42150.
This commit is contained in:
@@ -2,7 +2,7 @@ window.afterPageUpdate = function($target, info, options)
|
||||
{
|
||||
window.isDropdown = false;
|
||||
window.lineCount = 1;
|
||||
window.checkedList = [{id:current.id + '', name:current.name}];
|
||||
window.checkedList = window.initCheckedList();
|
||||
window.chartList = [];
|
||||
for(key in chartTypeList) {
|
||||
chartList.push({value: key, text: chartTypeList[key]});
|
||||
@@ -19,6 +19,18 @@ window.afterPageUpdate = function($target, info, options)
|
||||
window.initFilterPanel();
|
||||
}
|
||||
|
||||
window.initCheckedList = function()
|
||||
{
|
||||
if(typeof window.checkedList !== 'undefined' && Array.isArray(window.checkedList) && window.checkedList.length > 1)
|
||||
{
|
||||
return window.checkedList;
|
||||
}
|
||||
else
|
||||
{
|
||||
return [{id:current.id + '', name:current.name}];
|
||||
}
|
||||
}
|
||||
|
||||
window.addTitle2Star = function()
|
||||
{
|
||||
$('.metric-collect').attr('title', collectStar);
|
||||
|
||||
@@ -198,6 +198,7 @@ div
|
||||
(
|
||||
dtable
|
||||
(
|
||||
setID('ajaxmetric' . $metric->id),
|
||||
set::height(328),
|
||||
set::rowHeight(32),
|
||||
set::bordered(true),
|
||||
|
||||
@@ -22,6 +22,7 @@ div
|
||||
(
|
||||
dtable
|
||||
(
|
||||
setID('ajaxmetric' . $metric->id),
|
||||
$viewType == 'multiple' ? set::height(328) : set::height(jsRaw('window.getTableHeight')),
|
||||
set::rowHeight(32),
|
||||
set::bordered(true),
|
||||
|
||||
Reference in New Issue
Block a user