N°5888 - Harmonize / implement missing methods

This commit is contained in:
Molkobain
2023-04-19 22:33:02 +02:00
parent b078c0d289
commit 866d77dd14
2 changed files with 21 additions and 13 deletions

View File

@@ -1477,10 +1477,18 @@ let CombodoModal = {
/**
* Open a standard confirmation modal and put the content into it.
*
* @param oOptions
* @returns object The jQuery object of the modal element
* @param oOptions {Object} {@see CombodoModal.OpenModal} +
* ```
* {
* do_not_show_again_pref_key: string,
* callback_on_confirm: function,
* callback_on_cancel: function
* }
* ```
* @param aData {Array} Array of arguments to pass to the callbacks
* @return {Object} The jQuery object of the modal element
*/
OpenConfirmationModal: function(oOptions) {
OpenConfirmationModal: function(oOptions, aData) {
// Meant for overlaoding
CombodoJSConsole.Debug('CombodoModal.OpenConfirmationModal not implemented');
},