7921 Posts in 1359 Topics by 933 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Does DOM popup save fire a onAfterWrite?
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 636 Views |
-
Does DOM popup save fire a onAfterWrite?

13 October 2010 at 7:18am
Hi Cheese and others,
I need to fire an event after someone hits the save button on a DOM popup.
How would I go about doing this?In a regular page I would just add function onAfterWrite(){}
-
Re: Does DOM popup save fire a onAfterWrite?

13 October 2010 at 8:05am
Yup. onAfterWrite() is a member function of DataObject, not SiteTree, so it works the same way..
--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com
| 636 Views | ||
|
Page:
1
|
Go to Top |

