mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Changed event name to DISPLAY_OBJECT_DETAILS
This commit is contained in:
@@ -270,7 +270,7 @@
|
||||
</class>
|
||||
</classes>
|
||||
<events _delta="define">
|
||||
<event id="ObjectDetails">
|
||||
<event id="DisplayObjectDetails">
|
||||
<description>An object details is about to be displayed to a user</description>
|
||||
<available_filters>Class hierarchy of the displayed object</available_filters>
|
||||
<arguments>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -124,7 +124,7 @@ class ObjectController extends BrickController
|
||||
|
||||
$sOperation = $oRequestManipulator->ReadParam('operation', '');
|
||||
|
||||
$oObject->FireEvent(EventName::OBJECT_DETAILS);
|
||||
$oObject->FireEvent(EventName::DISPLAY_OBJECT_DETAILS);
|
||||
|
||||
$aData = array('sMode' => 'view');
|
||||
$aData['form'] = $oObjectFormHandler->HandleForm($oRequest, $aData['sMode'], $sObjectClass, $sObjectId);
|
||||
|
||||
@@ -29,8 +29,8 @@ class EventName
|
||||
const BEFORE_APPLY_STIMULUS = 'BeforeApplyStimulus';
|
||||
const AFTER_APPLY_STIMULUS = 'AfterApplyStimulus';
|
||||
const ON_CHECK_TO_WRITE = 'OnCheckToWrite';
|
||||
const ON_CHECK_TO_DELETE = 'OnCheckToDelete';
|
||||
const OBJECT_DETAILS = 'ObjectDetails';
|
||||
const ON_CHECK_TO_DELETE = 'OnCheckToDelete';
|
||||
const DISPLAY_OBJECT_DETAILS = 'DisplayObjectDetails';
|
||||
|
||||
// Application
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user