fixed issue that caused some custom code not to export for a JCB packages if found in anther custom code area. Made some corrections to the router helper class. Added return_here value admin views to improve the return values in url redirection. Improved the open valid base64 method to make use of default string. Update many ajax calls to not use jsonp, and infact be more secure.
This commit is contained in:
@ -350,6 +350,15 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
||||
{
|
||||
$this->setData('custom_code', array_values($this->smartIDs['custom_code']), 'id');
|
||||
}
|
||||
// set limiter
|
||||
$limit = 0;
|
||||
// and add those custom codes found in custom codes
|
||||
while (isset($this->smartIDs['custom_code']) && ComponentbuilderHelper::checkArray($this->smartIDs['custom_code']) && $limit < 100)
|
||||
{
|
||||
$this->setData('custom_code', array_values($this->smartIDs['custom_code']), 'id');
|
||||
// make sure we break
|
||||
$limit++; // just in case (should not be needed)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -604,6 +613,10 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
||||
{
|
||||
$this->smartIDs['layout'] = array();
|
||||
}
|
||||
elseif ('custom_code' === $table && 'id' === $key)
|
||||
{
|
||||
$this->smartIDs['custom_code'] = array();
|
||||
}
|
||||
// start loading the data
|
||||
if (!isset($this->smartBox[$table]))
|
||||
{
|
||||
|
Reference in New Issue
Block a user