Fixed fade-in affect problem of not loading the affect when added.
This commit is contained in:
@ -1074,12 +1074,20 @@ class Get
|
||||
// add_css_view
|
||||
if ($view->add_css_view == 1)
|
||||
{
|
||||
if (!isset($this->customScriptBuilder['css_view'][$name_single]))
|
||||
{
|
||||
$this->customScriptBuilder['css_view'][$name_single] = '';
|
||||
}
|
||||
$this->customScriptBuilder['css_view'][$name_single] .= base64_decode($view->css_view);
|
||||
unset($view->css_view);
|
||||
}
|
||||
// add_css_views
|
||||
if ($view->add_css_views == 1)
|
||||
{
|
||||
if (!isset($this->customScriptBuilder['css_views'][$name_single]))
|
||||
{
|
||||
$this->customScriptBuilder['css_views'][$name_single] = '';
|
||||
}
|
||||
$this->customScriptBuilder['css_views'][$name_list] .= base64_decode($view->css_views);
|
||||
unset($view->css_views);
|
||||
}
|
||||
|
@ -5838,7 +5838,8 @@ class Interpretation extends Fields
|
||||
|
||||
public function setFadeInEfect(&$view)
|
||||
{
|
||||
if ($view->add_fadein == 1)
|
||||
// check if we should load the fade in affect
|
||||
if ($view['settings']->add_fadein == 1)
|
||||
{
|
||||
// set view name
|
||||
$fadein[] = "<script type=\"text/javascript\">";
|
||||
|
@ -75,11 +75,9 @@ abstract class ComponentbuilderHelper
|
||||
{
|
||||
// set image
|
||||
$image = JPATH_SITE.'/'.$path;
|
||||
// chack if exists
|
||||
if (file_exists($image))
|
||||
// check if exists
|
||||
if (file_exists($image) && $result = @getimagesize($image))
|
||||
{
|
||||
// get image info
|
||||
$result = getimagesize($image);
|
||||
// return type request
|
||||
switch ($request)
|
||||
{
|
||||
|
Reference in New Issue
Block a user