mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Revert fix for tooltips in AjaxPage as pages with "application/json" content type actually return the HTML templates... 🤦♂️(eg. breaks the autocomplete results)
- Fix only for ext. key modal
This commit is contained in:
@@ -944,6 +944,7 @@ HTML
|
||||
$('#ac_create_{$this->iId}').dialog({ width: 'auto', height: 'auto', maxHeight: $(window).height() - 50, autoOpen: false, modal: true});
|
||||
$('#dcr_{$this->iId} form').removeAttr('onsubmit');
|
||||
$('#dcr_{$this->iId} form').on('submit.uilinksWizard', oACWidget_{$this->iId}.DoCreateObject);
|
||||
CombodoTooltip.InitAllNonInstantiatedTooltips($('#ac_create_{$this->iId}'));
|
||||
JS
|
||||
);
|
||||
}
|
||||
|
||||
@@ -68,19 +68,16 @@
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% else %}
|
||||
{% block iboPageJsInlineOnDomReady %}
|
||||
{% for sJsInlineOnDomReady in aPage.aJsInlineOnDomReady %}
|
||||
<script type="text/javascript">
|
||||
{{ sJsInlineOnDomReady|raw }}
|
||||
</script>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
|
||||
{% block iboPageJsInlineOnDomReady %}
|
||||
{% for sJsInlineOnDomReady in aPage.aJsInlineOnDomReady %}
|
||||
<script type="text/javascript">
|
||||
{{ sJsInlineOnDomReady|raw }}
|
||||
</script>
|
||||
{% endfor %}
|
||||
<script type="application/javascript">
|
||||
CombodoTooltip.InitAllNonInstantiatedTooltips($('body'));
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% if aDeferredBlocks is not empty %}
|
||||
{# TODO 3.0.0 #}
|
||||
{# <script type="text/javascript"> #}
|
||||
|
||||
Reference in New Issue
Block a user