From: Jamie C. <jca...@we...> - 2014-04-14 22:43:30
|
On 14/Apr/2014 13:26 marty leisner <mal...@gm...> wrote .. > On Sun, Apr 13, 2014 at 6:59 PM, Jamie Cameron <jca...@we...> wrote: > > > On 12/Apr/2014 12:34 marty leisner <mal...@gm...> wrote .. > > > > > 3) Is there a way to hook a function after the module editor is > > "completed" > > > so "something knows" > > > editing has taken place (before the actions on the module are run?) > > > > > > Any examples which accomplish this (possibly in alternate ways) would be > > > appreciated. > > > > > > I'm thinking of having the "editor" as a webmin action so I can control > > it. > > > > I'm not quite sure what you mean here, sorry. > > > > - Jamie > > > > > Thanks for all the help... > > Is there a way to run a function after the editing has been completed? > > (i.e. if we have to "do certain things" before displaying the webmin module > controls)? Yes, in your module's config_info.pl file you can define a function called config_post_save that will be called after the config is saved. |