diff --git a/api/js/etemplate/et2_core_editableWidget.ts b/api/js/etemplate/et2_core_editableWidget.ts index c60e58b7e8..16a2c2cd85 100644 --- a/api/js/etemplate/et2_core_editableWidget.ts +++ b/api/js/etemplate/et2_core_editableWidget.ts @@ -127,7 +127,7 @@ export class et2_editableWidget extends et2_inputWidget implements et2_ISubmitLi * * @param {DOMNode} _node */ - dblclick(_node) + dblclick(_node?) { // Turn off readonly this.set_readonly(false); diff --git a/api/js/jsapi/egw_app.ts b/api/js/jsapi/egw_app.ts index 8a8fd1277b..d583b4dc93 100644 --- a/api/js/jsapi/egw_app.ts +++ b/api/js/jsapi/egw_app.ts @@ -469,7 +469,7 @@ export abstract class EgwApp * @param {boolean} _noEdit defines whether to set edit button or not default is false * @param {function} et2_callback function to run after et2 is loaded */ - viewEntry(_action, _senders, _noEdit, et2_callback) + viewEntry(_action, _senders, _noEdit?, et2_callback?) { //full id in nm var id = _senders[0].id; @@ -1988,7 +1988,7 @@ export abstract class EgwApp * @param {Function} _callback Callback with results * @returns {Boolean} returns false if not successful */ - share_link(_action, _senders, _target, _writable, _files, _callback){ + share_link(_action, _senders, _target, _writable?, _files?, _callback?){ var path = _senders[0].id; if(!path) {