CC-3620 : Calendar -> Unresponsive script warning when trying to add 300 ogg files
improving speed of js rendering, datatables config is loaded from localstorage, removed aggregate propel behaviour on cc_show_instances time_filled.
This commit is contained in:
parent
ef908ee894
commit
c96c60dc5a
16 changed files with 210 additions and 235 deletions
|
@ -53,19 +53,33 @@ class UsersettingsController extends Zend_Controller_Action
|
|||
|
||||
public function setTimelineDatatableAction() {
|
||||
|
||||
$start = microtime(true);
|
||||
|
||||
$request = $this->getRequest();
|
||||
$settings = $request->getParam("settings");
|
||||
|
||||
$data = serialize($settings);
|
||||
Application_Model_Preference::SetValue("timeline_datatable", $data, true);
|
||||
|
||||
$end = microtime(true);
|
||||
|
||||
Logging::debug("saving timeline datatables info took:");
|
||||
Logging::debug(floatval($end) - floatval($start));
|
||||
}
|
||||
|
||||
public function getTimelineDatatableAction() {
|
||||
|
||||
$start = microtime(true);
|
||||
|
||||
$data = Application_Model_Preference::GetValue("timeline_datatable", true);
|
||||
if ($data != "") {
|
||||
$this->view->settings = unserialize($data);
|
||||
}
|
||||
|
||||
$end = microtime(true);
|
||||
|
||||
Logging::debug("getting timeline datatables info took:");
|
||||
Logging::debug(floatval($end) - floatval($start));
|
||||
}
|
||||
|
||||
public function remindmeAction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue