* chart: fix error the on::click won't work if the element is loaded by ajax.
This commit is contained in:
@@ -55,7 +55,7 @@ $generateCharts = function() use($charts, $lang)
|
||||
button
|
||||
(
|
||||
setClass('btn primary'),
|
||||
on::click("loadChart('chart_{$chartID}')"),
|
||||
setData(array('on' => 'click', 'call' => "loadChart('{$chartID}')")),
|
||||
$lang->chart->query
|
||||
)
|
||||
) : null,
|
||||
|
||||
Reference in New Issue
Block a user