N°3067 - Cannot edit in place attributes with HTML editors

This commit is contained in:
acognet
2022-03-28 14:18:54 +02:00
parent 81d285a143
commit b75f29b8d7
3 changed files with 127 additions and 105 deletions

View File

@@ -975,7 +975,7 @@ HTML
$oPage->add_ready_script(<<<JS
$('#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);
$('#dcr_{$this->iId} form').find('button[type="submit"]').on('click', oACWidget_{$this->iId}.DoCreateObject);
JS
);
}