Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correcting an error for migrating the CMS to 11.3

  • Loading branch information...
commit 1d37995fe769b3e20b414620135debdca7be58af 1 parent d90ee55
@chdemko chdemko authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 libraries/joomla/html/html/sliders.php
View
8 libraries/joomla/html/html/sliders.php
@@ -89,11 +89,11 @@ protected static function _loadBehavior($group, $params = array())
$show = (isset($params['startOffset']) && !(isset($params['startTransition']) && $params['startTransition']))
? (int) $params['startOffset'] : null;
$options = '{';
- $opt['onActive'] = "function(toggler, i) {toggler.addClass('pane-toggler-down');' .
- 'toggler.removeClass('pane-toggler');i.addClass('pane-down');i.removeClass('pane-hide');Cookie.write('jpanesliders_"
+ $opt['onActive'] = "function(toggler, i) {toggler.addClass('pane-toggler-down');" .
+ "toggler.removeClass('pane-toggler');i.addClass('pane-down');i.removeClass('pane-hide');Cookie.write('jpanesliders_"
. $group . "',$$('div#" . $group . ".pane-sliders > .panel > h3').indexOf(toggler));}";
- $opt['onBackground'] = "function(toggler, i) {toggler.addClass('pane-toggler');' .
- 'toggler.removeClass('pane-toggler-down');i.addClass('pane-hide');i.removeClass('pane-down');if($$('div#"
+ $opt['onBackground'] = "function(toggler, i) {toggler.addClass('pane-toggler');" .
+ "toggler.removeClass('pane-toggler-down');i.addClass('pane-hide');i.removeClass('pane-down');if($$('div#"
. $group . ".pane-sliders > .panel > h3').length==$$('div#" . $group
. ".pane-sliders > .panel > h3.pane-toggler').length) Cookie.write('jpanesliders_" . $group . "',-1);}";
$opt['duration'] = (isset($params['duration'])) ? (int) $params['duration'] : 300;
Please sign in to comment.
Something went wrong with that request. Please try again.