Getting DAL to work with the bootstrap modal that loads the "registerfunction" script with the remote url is problematic with the new release. I though I had it working, but it seems that whether it works depends on, amongst other things, the internet speed, which is undesirable.
The problem is that the registerfunction could be called before the modal is ready, but after yl is defined. That way the select2 is not even initialized, because the function already is in the yl.functions (which is global in scope), but not initialized on the current (new) modal.
Getting DAL to work with the bootstrap modal that loads the "registerfunction" script with the remote url is problematic with the new release. I though I had it working, but it seems that whether it works depends on, amongst other things, the internet speed, which is undesirable.
The problem is that the registerfunction could be called before the modal is ready, but after yl is defined. That way the select2 is not even initialized, because the function already is in the yl.functions (which is global in scope), but not initialized on the current (new) modal.