瀏覽代碼

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 11 年之前
父節點
當前提交
7ec9a1c66f
共有 1 個文件被更改,包括 2 次插入1 次删除
  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 */