Buy Now
Sign in

task bitton ajax error

webcrea , November 02 at 09:33
webcrea

Hi,

I try to hide dynamically a line in a list.
I build a button with

event : hide_product (future event to memorize the id of the product in var session but for the moment just i try to hide the line)
class : ui button icon compact
content : Caché {var:table_comparatif.row.fonds.id} (it's ok we see the product id)
url & params : id={var:table_comparatif.row.fonds.id}
dynamics ajax feature checked
dynamic result : remove/closest:tr

when i click on the button, an alert appears with : error:Forbidden

The html code for the first line in the list is :

<a class="ui button icon compact G2-dynamic" name="task_hide_product" data-url="https://www.xxx.fr/fcpi-fip/comparatif?conn=liste-fcpi&amp;id=935&amp;event=hide_product&amp;tvout=view" data-result="remove/closest:tr" data-id="task_hide_product" href="https://www.xxx.fr/fcpi-fip/comparatif?conn=liste-fcpi&amp;id=935&amp;event=hide_product">Caché 935</a>

Any idea, please?
Regards

Christophe
http://www.webcrea.fr

webcrea

up

Christophe
http://www.webcrea.fr