Convert tracker app.js to TS

This commit is contained in:
Hadi Nategh 2020-03-09 16:12:49 +01:00
parent f39248c89a
commit d6c2a4aa0b
2 changed files with 3 additions and 3 deletions

View File

@ -127,7 +127,7 @@ export class et2_editableWidget extends et2_inputWidget implements et2_ISubmitLi
* *
* @param {DOMNode} _node * @param {DOMNode} _node
*/ */
dblclick(_node) dblclick(_node?)
{ {
// Turn off readonly // Turn off readonly
this.set_readonly(false); this.set_readonly(false);

View File

@ -469,7 +469,7 @@ export abstract class EgwApp
* @param {boolean} _noEdit defines whether to set edit button or not default is false * @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 * @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 //full id in nm
var id = _senders[0].id; var id = _senders[0].id;
@ -1988,7 +1988,7 @@ export abstract class EgwApp
* @param {Function} _callback Callback with results * @param {Function} _callback Callback with results
* @returns {Boolean} returns false if not successful * @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; var path = _senders[0].id;
if(!path) if(!path)
{ {