Open damanic opened 10 years ago
also
listReload() is output multiple times if default _list_container used more than once on a page.
Need one listReload function to handle all lists:
listReload(list_name, show_load_indicator){}
or functions made for each list
<?=$this->list_name?>Reload(show_load_indicator){}
Multiple lists without forms could be simpler to use.
For example if you place multiple lists in the form preview and choose list_no_form = true so that you can have them all in the main form. There is no way to easily identify which list is requesting an update from the controller.
By default all ajax updates to the list should submit a post variable that includes the listname.
Eg. Add list_name to data{}
We can then easily check for listnames in the controller.