Re: [Dolibarr-dev] check box to confirm module deactivation

2019-02-26 Par sujet Stéphane Rivière
Hi Eldy, Thanks for you answer... $this->warnings_unactivation = array('always'=>'HeyConfirmThis'); Not sure it works. Just try. I confirm it does not work nor exist in DolibarrModules.class.php I've found in the same file a public $warnings_activation; which works (tested)... then create pu

Re: [Dolibarr-dev] check box to confirm module deactivation

2019-02-26 Par sujet Laurent Destailleur (aka Eldy)
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 a écrit : > Hi all, > > I'm finishing a little module with hook, triggers and extrafields. > > I wonde

[Dolibarr-dev] check box to confirm module deactivation

2019-02-25 Par sujet Stéphane Rivière
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 templa