PaulV888
Member
Hi,
I used to be possible to refresh you ajax rows on a timer basis, I have a couple of lists on my dash-board which i refresh automatically with code like:
However with the new JQuery list.js this does not work anymore after 1 refresh (It does work properly on initial load). I am getting
"Sorry this form is not published"
My /Element/List View Settings/Custom Link links look something like this:
/index.php?option=com_fabrik&view=form&Itemid=138&formid=15&listid=15&rowid={ha_vw_monitor_current_status___deviceID_raw}&tmpl=component&ajax=1
Question: Is there another supported way to do an automatic ajax update?
If not, I did find a way to hack list.js to make if work and can submit.
Thanks,
Paul
I used to be possible to refresh you ajax rows on a timer basis, I have a couple of lists on my dash-board which i refresh automatically with code like:
Code:
<script type="text/javascript">
function updateList_list_212() {
if (Fabrik.getBlock('list_212')) {
if ($('autorefresh').hasClass('active')) Fabrik.getBlock('list_212').updateRows();;
}
}
window.setInterval(function(){
updateList_list_212();
}, 10000);
</script>
However with the new JQuery list.js this does not work anymore after 1 refresh (It does work properly on initial load). I am getting
"Sorry this form is not published"
My /Element/List View Settings/Custom Link links look something like this:
/index.php?option=com_fabrik&view=form&Itemid=138&formid=15&listid=15&rowid={ha_vw_monitor_current_status___deviceID_raw}&tmpl=component&ajax=1
Question: Is there another supported way to do an automatic ajax update?
If not, I did find a way to hack list.js to make if work and can submit.
Thanks,
Paul