JBosir
Member
I upgraded to Github and me the following error happens now.
In list, plug-ins, php-file: xxx.php
Js Code:
When the button is pressed, get a popup with OK and Cancel.
Now it happens that Clicking Cancel executes the php file.
Thanks.
JS code - Any JavaScript code code entered here will be run when the plugin button is clicked (at the end of this plugin buttonAction() method).
If your code returns false, the button will not fire the request to run the PHP code.
In list, plug-ins, php-file: xxx.php
Js Code:
Code:
confirm('?Seguro que deseas copiar las campa?as seleccionadas como nueva campa?a?')
When the button is pressed, get a popup with OK and Cancel.
Now it happens that Clicking Cancel executes the php file.
Thanks.
JS code - Any JavaScript code code entered here will be run when the plugin button is clicked (at the end of this plugin buttonAction() method).
If your code returns false, the button will not fire the request to run the PHP code.