Fixed javascript overload in the field conditions area. Fixed a dynamicGet error that linked the wrong tables with eachother. Fixed gh-519 so that the form is loaded around pagination, note that this may break some implementation, but this fix will allow for a more correct html.
This commit is contained in:
@ -247,7 +247,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getVymfields()
|
||||
public function getVyffields()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -335,13 +335,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// convert datatype
|
||||
$item->datatype = $this->selectionTranslationVymfields($item->datatype, 'datatype');
|
||||
$item->datatype = $this->selectionTranslationVyffields($item->datatype, 'datatype');
|
||||
// convert indexes
|
||||
$item->indexes = $this->selectionTranslationVymfields($item->indexes, 'indexes');
|
||||
$item->indexes = $this->selectionTranslationVyffields($item->indexes, 'indexes');
|
||||
// convert null_switch
|
||||
$item->null_switch = $this->selectionTranslationVymfields($item->null_switch, 'null_switch');
|
||||
$item->null_switch = $this->selectionTranslationVyffields($item->null_switch, 'null_switch');
|
||||
// convert store
|
||||
$item->store = $this->selectionTranslationVymfields($item->store, 'store');
|
||||
$item->store = $this->selectionTranslationVyffields($item->store, 'store');
|
||||
}
|
||||
}
|
||||
|
||||
@ -355,7 +355,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationVymfields($value,$name)
|
||||
public function selectionTranslationVyffields($value,$name)
|
||||
{
|
||||
// Array of datatype language strings
|
||||
if ($name === 'datatype')
|
||||
|
Reference in New Issue
Block a user