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:
Molkobain
2021-03-05 12:40:19 +01:00
parent bbbc5e966b
commit 085855cdc5
2 changed files with 9 additions and 11 deletions

View File

@@ -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
);
}