Project

General

Profile

Bug #20874 ยป gmenu_foldout.php.patch

Administrator Admin, 2009-08-13 11:56

View differences:

gmenu_foldout.php 2009-08-13 11:51:42.000000000 +0200
* @return void
*/
function extProc_beforeLinking($key) {
$this->I['addATagParams']='';
$this->I['linkHREF']["onClick"]='';
$this->WMsubmenu = $this->subMenu($this->I['uid'], $this->WMsubmenuObjSuffixes[$key]['sOSuffix']);
if (trim($this->WMsubmenu)) {
$this->I['addATagParams']=' onclick="GF_menu('.$key.');'.($this->mconf['dontLinkIfSubmenu'] ? ' return false;' : '').'"';
$this->I['linkHREF']["onClick"]=' GF_menu('.$key.');'.($this->mconf['dontLinkIfSubmenu'] ? ' return false;' : '');
if ($this->isActive($this->I['uid'], $this->getMPvar($key)) && $this->mconf['displayActiveOnLoad']) { // orig: && $this->WMisSub, changed 210901
$this->WM_activeOnLoad='GF_menu('.$key.');';
}
    (1-1/1)