Ver Fonte

#984 Dashboard auto refresh degrading table functionalities like sorting

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3317 a333f486-631f-4898-b8df-5754b55c2be0
romainq há 10 anos atrás
pai
commit
cff9c08d04
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      pages/ajax.render.php

+ 1 - 0
pages/ajax.render.php

@@ -834,6 +834,7 @@ try
 		$oMenu = ApplicationMenu::GetMenuNode($idx);
 		$oDashboard = $oMenu->GetDashboard();
 		$oDashboard->Render($oPage, false, $aExtraParams);
+		$oPage->add_ready_script("$('.dashboard_contents table.listResults').tableHover(); $('.dashboard_contents table.listResults').tablesorter( { widgets: ['myZebra', 'truncatedList']} );");
 		break;
 		
 		case 'dashboard_editor':