Added an after cancel custom code area also in connection with gh-418 in the admin view.
This commit is contained in:
@ -155,7 +155,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getWaqfields()
|
||||
public function getWarfields()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -237,13 +237,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// convert datatype
|
||||
$item->datatype = $this->selectionTranslationWaqfields($item->datatype, 'datatype');
|
||||
$item->datatype = $this->selectionTranslationWarfields($item->datatype, 'datatype');
|
||||
// convert indexes
|
||||
$item->indexes = $this->selectionTranslationWaqfields($item->indexes, 'indexes');
|
||||
$item->indexes = $this->selectionTranslationWarfields($item->indexes, 'indexes');
|
||||
// convert null_switch
|
||||
$item->null_switch = $this->selectionTranslationWaqfields($item->null_switch, 'null_switch');
|
||||
$item->null_switch = $this->selectionTranslationWarfields($item->null_switch, 'null_switch');
|
||||
// convert store
|
||||
$item->store = $this->selectionTranslationWaqfields($item->store, 'store');
|
||||
$item->store = $this->selectionTranslationWarfields($item->store, 'store');
|
||||
}
|
||||
}
|
||||
|
||||
@ -257,7 +257,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationWaqfields($value,$name)
|
||||
public function selectionTranslationWarfields($value,$name)
|
||||
{
|
||||
// Array of datatype language strings
|
||||
if ($name === 'datatype')
|
||||
|
Reference in New Issue
Block a user