* N°8245 - External key not saved in n-n link in edition
* Remove the listener from the input element itself, put it on the body with a selector that matches our input
* Revert "N°8245 - External key not saved in n-n link in edition"
This reverts commit a756f9b159.
---------
Co-authored-by: Stephen Abello <stephen.abello@combodo.com>
N°6154 - n:n Read - tooltip, confirmation title and message on Add-Edit-Remove
N°6219 - 1:n Read: tooltip, modal title and message on Add-Edit-Remove-Delete
* N°3795 - Replace JS alert native calls with centralized informative modals
* N°3795 - Add constants for severity
* N°3795 - Fix success severity value wrongfully set to 'error'
* N°3795 - Add constants for severity
* N°3795 - Simplify API consumption
* N°3795 - Allows to pass more options when consuming API
* Add corresponding buttons depending on old edit mode (need to check with piR pour récuperer l'ancienne valeur.
* N°5904 - Handle attribute linked set edit_mode
* N°5904 Move calls to private jquery widget methods to public
* N°5904 - Worker improvements add button on link tagset
* Change itop set widget to new set block UI (5)
* Change itop set widget to new set block UI (5)
* Renommage variables JS avec le prefix combodo
* Search dialog block id conflict with form id
* add moved js files in iTopWebPage compatibility list
---------
Co-authored-by: Stephen Abello <stephen.abello@combodo.com>
* Rebase onto develop
* Use exit condition instead of englobing condition
* Add informative modals that can be called from modal toolbox
* Refactor "apply_modify" and "apply_new" into own controller, handle ajax requests with a json response and handle these responses in linkset creation/edition
* Fix merge issues
* Remove inverted condition
* Move linkset create button to a better place, still needs to fix duplicate "New" button caused by a refactor
* Handle "Cancel" button in modals
* Do not display relations when editing an object in a modal
* More elegant way to add "New" button to relations lists
* Factorize vertical highlights in alerts and modal in a single mixin
* Replace button name with dict entry code
* Change route name to snake case
* More elegant way to add "Create in modal" button to relations lists
* Replace triple if with in_array
* Move listener to body
* Rename variable to match boolean rules
* Rename event
* Rename extra param
* Add phpdoc
* Revert changes
* Check indirect linkset rights before allowing creation in modal
* datatable row actions
Below is a sample of extra param to enable feature:
$aExtraParams['row_actions'] = [
[
'tooltip' => 'remove an element',
'icon_css_class' => 'fa-minus',
'js_row_action' => 'console.log("You clicked the remove button");',
'confirmation' => [
'message' => 'UI:ConfirmationMessage',
'message_row_data' => "name",
'remember_choice_pref_key' => 'remove_do_not_show_again',
],
],
[
'tooltip' => 'open in new tab',
'icon_css_class' => 'fa-external-link-square-alt',
'on_action_js' => 'window.open("http://localhost/itop-branchs/dev/pages/UI.php?operation=details&class=UserRequest&id=" + aData.id + "&c[menu]=UserRequest%3AOpenRequests");',
],
[
'tooltip' => 'other actions',
'icon_css_class' => 'fa-ellipsis-v',
'on_action_js' => 'console.log(event);',
],
];
* Contrôleur pour la suppression et le détachement de liens
* Block UI pour l'édition des relations
* Block UI pour la visualisation des relations
* Boutons d'actions pour la suppression et le détachement de liens
* Gestion dialogue de confirmation pour les row actions