Pārlūkot izejas kodu

User editable dashboards... implementation in progress

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1994 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 gadi atpakaļ
vecāks
revīzija
0d7e9edd9a
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7 0
      pages/ajax.render.php

+ 7 - 0
pages/ajax.render.php

@@ -624,6 +624,13 @@ try
 		}
 		
 		break;
+		
+		case 'dashboard_editor':
+		$sId = utils::ReadParam('id', '');
+		$idx = ApplicationMenu::GetMenuIndexById($sId);
+		$oMenu = ApplicationMenu::GetMenuNode($idx);
+		$oMenu->RenderEditor($oPage);
+		break;
 			
 		default:
 		$oPage->p("Invalid query.");