mirror of https://github.com/MISP/MISP
Merge pull request #7538 from JakubOnderka/js-helper
chg: [internal] Remove JS helper from controllerspull/7596/head
commit
71bb08bf6a
|
@ -18,8 +18,6 @@ class AttributesController extends AppController
|
|||
'order' => 'Attribute.event_id DESC'
|
||||
);
|
||||
|
||||
public $helpers = array('Js' => array('Jquery'));
|
||||
|
||||
public function beforeFilter()
|
||||
{
|
||||
parent::beforeFilter();
|
||||
|
|
|
@ -53,8 +53,6 @@ class EventsController extends AppController
|
|||
'galaxyAttachedAttributes' => ''
|
||||
);
|
||||
|
||||
public $helpers = array('Js' => array('Jquery'));
|
||||
|
||||
public $paginationFunctions = array('index', 'proposalEventIndex');
|
||||
|
||||
public function beforeFilter()
|
||||
|
|
|
@ -228,8 +228,6 @@ class LogsController extends AppController
|
|||
$this->set('mayModify', $mayModify);
|
||||
}
|
||||
|
||||
public $helpers = array('Js' => array('Jquery'), 'Highlight');
|
||||
|
||||
public function admin_search($new = false)
|
||||
{
|
||||
$orgRestriction = null;
|
||||
|
|
|
@ -14,8 +14,6 @@ class PostsController extends AppController
|
|||
'RequestHandler'
|
||||
);
|
||||
|
||||
public $helpers = array('Js' => array('Jquery'));
|
||||
|
||||
public $paginate = array(
|
||||
'limit' => 60,
|
||||
);
|
||||
|
|
|
@ -15,8 +15,6 @@ class RolesController extends AppController
|
|||
'RequestHandler'
|
||||
);
|
||||
|
||||
public $helpers = array('Js' => array('Jquery'));
|
||||
|
||||
public $paginate = array(
|
||||
'limit' => 60,
|
||||
'order' => array(
|
||||
|
|
|
@ -16,8 +16,6 @@ class ShadowAttributesController extends AppController
|
|||
'maxLimit' => 9999,
|
||||
);
|
||||
|
||||
public $helpers = array('Js' => array('Jquery'));
|
||||
|
||||
public function beforeFilter()
|
||||
{
|
||||
parent::beforeFilter();
|
||||
|
|
|
@ -12,8 +12,6 @@ class ThreadsController extends AppController
|
|||
'Session',
|
||||
);
|
||||
|
||||
public $helpers = array('Js' => array('Jquery'));
|
||||
|
||||
public $paginate = array(
|
||||
'limit' => 60,
|
||||
);
|
||||
|
|
|
@ -26,8 +26,6 @@ class UsersController extends AppController
|
|||
)
|
||||
);
|
||||
|
||||
public $helpers = array('Js' => array('Jquery'));
|
||||
|
||||
public $toggleableFields = ['disabled', 'autoalert'];
|
||||
|
||||
public function beforeFilter()
|
||||
|
|
Loading…
Reference in New Issue