View Single Post
Old 03-20-2017, 10:16 PM
Daemos Daemos is offline
Advanced Staff Users

X-Cart team
Join Date: Nov 2015
Posts: 7

Default Re: Issue in calling an ajax request in admin area.

Hello, ajeetsingh

You should define the list of actions not secured by formid checking in your NotifTmplts controller to overcome this problem:

PHP Code:
 * Define the actions with no secure token
 * @return array
public static function defineFreeFormIdActions()
$list parent::defineFreeFormIdActions();
$list[] = 'notify';

Eugene Dementjev
XC5 Developer
Reply With Quote