Revert "Revert "* Refactor to ajax get chart data when enter design and preview.""
This reverts commit f3356158a2.
This commit is contained in:
@@ -119,6 +119,7 @@ class screen extends control
|
||||
$chartID = $this->post->sourceID;
|
||||
$type = $this->post->type;
|
||||
$queryType = isset($_POST['queryType']) ? $this->post->queryType : 'filter';
|
||||
$component = isset($_POST['component']) ? json_decode($this->post->component) : null;
|
||||
|
||||
$type = ($type == 'Tables' or $type == 'pivot') ? 'pivot' : 'chart';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user