Explorar o código

Fix for Plugins: fixed a regression introduced in 3072 (dashboards not editable at all!!!)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3079 a333f486-631f-4898-b8df-5754b55c2be0
romainq %!s(int64=11) %!d(string=hai) anos
pai
achega
7ec9a1c66f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      application/applicationextension.inc.php

+ 2 - 1
application/applicationextension.inc.php

@@ -450,7 +450,8 @@ class JSPopupMenuItem extends ApplicationPopupMenuItem
 	/** @ignore */
 	public function GetMenuItem()
 	{
-		return array ('label' => $this->GetLabel(), 'onclick' => $this->sJSCode.' return false;', 'url' => '#');
+		// Note: the semicolumn is a must here!
+		return array ('label' => $this->GetLabel(), 'onclick' => $this->sJSCode.'; return false;', 'url' => '#');
 	}
 	
 	/** @ignore */