Make sure the edit_series javascript function is loaded after getrows in calendar list view

This commit is contained in:
Hadi Nategh 2014-01-09 11:14:52 +00:00
parent 3e5701b92a
commit 9316a880ab

View File

@ -187,9 +187,6 @@ class calendar_uilist extends calendar_ui
$html = $etpl->exec('calendar.calendar_uilist.listview',$content,$sel_options,$readonlys,'',$home ? -1 : 0);
// Not sure why this has to be echoed instead of appended, but that's what works.
echo calendar_uiviews::edit_series();
return $html;
}
@ -483,6 +480,10 @@ class calendar_uilist extends calendar_ui
{
$params['options-selectcols']['pm_id'] = false;
}
// Not sure why this has to be echoed instead of appended, but that's what works.
echo calendar_uiviews::edit_series();
//_debug_array($rows);
return $this->bo->total;
}