Skip to content

Commit 9a08b53

Browse files
committed
remove default nonce
1 parent 0c9a9b5 commit 9a08b53

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Ajax/JsUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function __construct($params = array(), $injected = NULL) {
214214
'ajax' => $ajaxDefault,
215215
'historize' => true,
216216
'autoActiveLinks' => true,
217-
'nonce' => true
217+
'nonce' => false
218218
];
219219
foreach ($defaults as $key => $val) {
220220
if (isset($params[$key]) === false || $params[$key] === "") {

Ajax/common/traits/JsUtilsInternalTrait.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ trait JsUtilsInternalTrait {
99

1010
protected $jquery_code_for_compile_at_last = array();
1111

12-
protected $nonce;
13-
1412
protected function _addToCompile($jsScript) {
1513
$this->jquery_code_for_compile[] = $jsScript;
1614
}

0 commit comments

Comments
 (0)