fix nm as 2nd and selectbox as 3rd parameter

This commit is contained in:
Ralf Becker 2020-08-12 15:17:40 +02:00
parent 1cf0266aca
commit 6f97a8834e
2 changed files with 6 additions and 6 deletions

View File

@ -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) {

View File

@ -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 = {};