Added a global editor switch for all editors in JCB, the default is none. gh-305 Added two new fields to the admin view to target the getform method in the model.

This commit is contained in:
2018-07-06 15:46:30 +02:00
parent 25650efa47
commit a9a0952ff3
74 changed files with 3291 additions and 3101 deletions

View File

@ -10937,6 +10937,8 @@ class Interpretation extends Fields
$allow[] = $this->_t(4) . "\$form->setValue(\$redirectedField, null, \$redirectedValue);";
$allow[] = $this->_t(3) . "}";
$allow[] = $this->_t(2) . "}";
// load custom script if found
$allow[] = $this->getCustomScriptBuilder('php_getform', $viewName_single);
// setup the default script
$allow[] = PHP_EOL . $this->_t(2) . "return \$form;";