mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
- Make sure that the search form preserves it's "action" (i.e. target page) when reloading (when specifying a derived class). This was breaking the UniversalSearch page.
- Prepare for the style cleanup - Don't display the menu to create a new 'Email Notification" when listing the notifications sent on a ticket (in the Notifications tab) ! SVN:trunk[1182]
This commit is contained in:
@@ -36,7 +36,14 @@ LoginWebPage::DoLogin(true); // Check user rights and prompt if needed (must be
|
||||
$oAppContext = new ApplicationContext();
|
||||
|
||||
$oP = new iTopWebPage(Dict::S('UI:UniversalSearchTitle'));
|
||||
|
||||
$oP->add_linked_script("../js/json.js");
|
||||
$oP->add_linked_script("../js/forms-json-utils.js");
|
||||
$oP->add_linked_script("../js/wizardhelper.js");
|
||||
$oP->add_linked_script("../js/wizard.utils.js");
|
||||
$oP->add_linked_script("../js/linkswidget.js");
|
||||
$oP->add_linked_script("../js/extkeywidget.js");
|
||||
$oP->add_linked_script("../js/jquery.blockUI.js");
|
||||
|
||||
// From now on the context is limited to the the selected organization ??
|
||||
|
||||
// Now render the content of the page
|
||||
@@ -98,6 +105,7 @@ if ($oFilter != null)
|
||||
$aExtraParams = $oAppContext->GetAsHash();
|
||||
$aExtraParams['open'] = true;
|
||||
$aExtraParams['baseClass'] = $sBaseClass;
|
||||
$aExtraParams['action'] = '../pages/UniversalSearch.php';
|
||||
//$aExtraParams['class'] = $sClassName;
|
||||
$oBlock->Display($oP, 0, $aExtraParams);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user