Added CodeMirror to code areas all accross JCB #308

Merged
Llewellyn merged 19 commits from staging into master 2018-07-07 10:03:42 +00:00
11 changed files with 3 additions and 11 deletions
Showing only changes of commit 1a19a510dc - Show all commits

View File

@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
+ *Version*: 2.8.2
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **186168**
+ *Line count*: **186160**
+ *Field count*: **1058**
+ *File count*: **1238**
+ *Folder count*: **197**

View File

@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
+ *Version*: 2.8.2
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **186168**
+ *Line count*: **186160**
+ *Field count*: **1058**
+ *File count*: **1238**
+ *Folder count*: **197**

View File

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

View File

@ -506,7 +506,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -327,7 +327,6 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -184,7 +184,6 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -334,7 +334,6 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -362,7 +362,6 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -222,7 +222,6 @@ class ComponentbuilderModelLayout extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -345,7 +345,6 @@ class ComponentbuilderModelSite_view extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -222,7 +222,6 @@ class ComponentbuilderModelTemplate extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");