Try to add this is the descriptor of your module $this->warnings_unactivation = array('always'=>'HeyConfirmThis');
Not sure it works. Just try. Le lun. 25 févr. 2019 à 18:13, Stéphane Rivière <s...@genesix.org> a écrit : > Hi all, > > I'm finishing a little module with hook, triggers and extrafields. > > I wonder if there is an easy way to get a check box (ajax) to confirm a > module deactivation... > > I found a standart way to get a check box to confirm a module > activation, but no the opposite... > > If anyone have a template or some code snippets, it could helped me a > lot (I'm not a regular PHP dev nor a Dolibarr hacker ;). > > Thanks by advance... > > Stef > > _______________________________________________ > Dolibarr-dev mailing list > Dolibarr-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > -- EMail: e...@destailleur.fr Web: http://www.destailleur.fr ------------------------------------------------------------------------------------ Google+: https://plus.google.com/+LaurentDestailleur-Open-Source-Expert/ Facebook: https://www.facebook.com/Destailleur.Laurent Twitter: http://www.twitter.com/eldy10 ------------------------------------------------------------------------------------ * Dolibarr (Project leader): https://www.dolibarr.org (make a donation for Dolibarr project via Paypal: cont...@destailleur.fr) * AWStats (Author) : http://awstats.sourceforge.net (make a donation for AWStats project via Paypal: cont...@destailleur.fr) * AWBot (Author) : http://awbot.sourceforge.net * CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net
_______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev