소스 검색

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 */