mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Update row's visible custom fields to match selected custom fields
This commit is contained in:
parent
19991fe899
commit
321814260f
@ -1350,6 +1350,26 @@ var et2_nextmatch_customfields = et2_customfields_list.extend(et2_INextmatchHead
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Override parent so we can update the nextmatch row too
|
||||
*/
|
||||
set_visible: function(_fields) {
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
// Find data row, and do it too
|
||||
var self = this;
|
||||
if(this.nextmatch)
|
||||
{
|
||||
this.nextmatch.iterateOver(
|
||||
function(widget) {
|
||||
if(widget == self) return;
|
||||
widget.set_visible(_fields);
|
||||
console.log(widget.id);
|
||||
}, this, et2_customfields_list
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Provide own column caption (column selection)
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user