dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Laurent Destailleur (aka Eldy)
Subject: Re: [Dolibarr-dev] check box to confirm module deactivation
Date: Tue, 26 Feb 2019 14:03:51 +0100

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 <address@hidden> 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


--
------------------------------------------------------------------------------------
Google+: https://plus.google.com/+LaurentDestailleur-Open-Source-Expert/
Facebook: https://www.facebook.com/Destailleur.Laurent
------------------------------------------------------------------------------------
* Dolibarr (Project leader): https://www.dolibarr.org (make a donation for Dolibarr project via Paypal: address@hidden)
* AWStats (Author) : http://awstats.sourceforge.net (make a donation for AWStats project via Paypal: address@hidden)
* AWBot (Author) : http://awbot.sourceforge.net
* CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]