Fix for Plugins: if a page uses set_base then JS popup menu items were reloading the page. Still, set_base should not be used!

SVN:trunk[3072]
This commit is contained in:
Romain Quetiez
2014-02-04 16:04:50 +00:00
parent b00aae2536
commit 6f2c404415

View File

@@ -450,7 +450,7 @@ class JSPopupMenuItem extends ApplicationPopupMenuItem
/** @ignore */
public function GetMenuItem()
{
return array ('label' => $this->GetLabel(), 'onclick' => $this->sJSCode, 'url' => '#');
return array ('label' => $this->GetLabel(), 'onclick' => $this->sJSCode.' return false;', 'url' => '#');
}
/** @ignore */