mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3123 - Fix breadcrumb for DisplayBlock(type: List)
This commit is contained in:
@@ -1043,6 +1043,7 @@ class JSButtonItem extends JSPopupMenuItem
|
||||
* @api
|
||||
* @package Extensibility
|
||||
* @since 2.0
|
||||
* @deprecated since 3.0.0 use iPageUIBlockExtension instead
|
||||
*/
|
||||
interface iPageUIExtension
|
||||
{
|
||||
@@ -1091,7 +1092,7 @@ interface iPageUIExtension
|
||||
*
|
||||
* @api
|
||||
* @package Extensibility
|
||||
* @since 2.0
|
||||
* @since 3.0.0
|
||||
*/
|
||||
interface iPageUIBlockExtension
|
||||
{
|
||||
@@ -1123,6 +1124,7 @@ interface iPageUIBlockExtension
|
||||
* @api
|
||||
* @package Extensibility
|
||||
* @since 2.7.0
|
||||
* @deprecated since 3.0.0 use AbstractPageUIBlockExtension instead
|
||||
*/
|
||||
abstract class AbstractPageUIExtension implements iPageUIExtension
|
||||
{
|
||||
@@ -1157,7 +1159,7 @@ abstract class AbstractPageUIExtension implements iPageUIExtension
|
||||
*
|
||||
* @api
|
||||
* @package Extensibility
|
||||
* @since 2.7.0
|
||||
* @since 3.0.0
|
||||
*/
|
||||
abstract class AbstractPageUIBlockExtension implements iPageUIBlockExtension
|
||||
{
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{% apply spaceless %}
|
||||
{% if oUIBlock.GetParameter('sEventAttachedData') is not empty %}
|
||||
$('body').trigger('update_history.itop', [{{ oUIBlock.GetParameter('sEventAttachedData') }}])
|
||||
$('body').trigger('update_history.itop', [{{ oUIBlock.GetParameter('sEventAttachedData')|raw }}]);
|
||||
{% endif %}
|
||||
{% endapply %}
|
||||
Reference in New Issue
Block a user