alastairwalker
Member
When using the List php_events plugin for the event 'onDeleteRow', I have found that the other events are also triggered, including 'onPreloadData' and 'OnLoadData'.
In fact, the sequence I have found is as follows, when I use a php script in 'OnDeleteRow':
OnLoadData (or onPreloadData)
OnLoadData (or onPreloadData)
OnDeleteRows
OnLoadData (or onPreloadData).
This is a pain if I have unique PHP script in either onLoadData, or onPreLoadData.
What should be happening is that if there is a PHP script in onDeleteRows, only that event and script should be triggered. At the moment, the script under 'onLoadData' is also being triggered when 'onDeleteRows' is triggered.
Using Joomla 3.2.0, Fabrik 3.1 release.
Any comments on this issue will be really appreciated!
Alastair
In fact, the sequence I have found is as follows, when I use a php script in 'OnDeleteRow':
OnLoadData (or onPreloadData)
OnLoadData (or onPreloadData)
OnDeleteRows
OnLoadData (or onPreloadData).
This is a pain if I have unique PHP script in either onLoadData, or onPreLoadData.
What should be happening is that if there is a PHP script in onDeleteRows, only that event and script should be triggered. At the moment, the script under 'onLoadData' is also being triggered when 'onDeleteRows' is triggered.
Using Joomla 3.2.0, Fabrik 3.1 release.
Any comments on this issue will be really appreciated!
Alastair