diff --git a/addressbook/js/app.js b/addressbook/js/app.js index ccd2d267b4..a87ee234ef 100644 --- a/addressbook/js/app.js +++ b/addressbook/js/app.js @@ -158,10 +158,10 @@ var AddressbookApp = /** @class */ (function (_super) { * Change handler for contact / org selectbox * * @param node - * @param widget + * @param {et2_extension_nextmatch} nm + * @param {et2_selectbox} widget */ - AddressbookApp.prototype.change_grouped_view = function (node, widget) { - var nm = etemplate2_1.etemplate2.getById('addressbook-index').widgetContainer.getDOMWidgetById('nm'); + AddressbookApp.prototype.change_grouped_view = function (node, nm, widget) { var template = "addressbook.index.rows"; var value = {}; if (nm.activeFilters.sitemgr_display) { diff --git a/addressbook/js/app.ts b/addressbook/js/app.ts index 9828443ea7..5d40c3114b 100644 --- a/addressbook/js/app.ts +++ b/addressbook/js/app.ts @@ -172,11 +172,11 @@ class AddressbookApp extends EgwApp * Change handler for contact / org selectbox * * @param node - * @param widget + * @param {et2_extension_nextmatch} nm + * @param {et2_selectbox} widget */ - change_grouped_view(node, widget) + change_grouped_view(node, nm, widget) { - let nm = etemplate2.getById('addressbook-index').widgetContainer.getDOMWidgetById('nm'); let template = "addressbook.index.rows"; let value = {};