forked from extern/egroupware
Fix bug where additional infolog columns get shown after changing selected columns
This commit is contained in:
parent
e56ff68a61
commit
12962b77b4
@ -994,7 +994,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput, et2_IPrin
|
||||
this.egw().set_preference(app, pref, colDisplay.join(","),
|
||||
// Use callback after the preference gets set to trigger refresh, in case app
|
||||
// isn't looking at selectcols and just uses preference
|
||||
cf_added ? jQuery.proxy(function() {this.controller.update(true);}, this):null
|
||||
cf_added ? jQuery.proxy(function() {if(this.controller) this.controller.update(true);}, this):null
|
||||
);
|
||||
|
||||
// Save adjusted column sizes
|
||||
|
@ -59,6 +59,8 @@ app.classes.infolog = AppJS.extend(
|
||||
var nm = this.et2.getWidgetById('nm');
|
||||
var filter2 = nm.getWidgetById('filter2');
|
||||
this.show_details(filter2.value == 'all',nm.getDOMNode(nm));
|
||||
// Remove the rule added by show_details() if the template is removed
|
||||
$j(_et2.DOMContainer).on('clear', function() {egw.css('#infolog-index_nm .et2_box.infoDes');});
|
||||
|
||||
// Enable decrypt on hover
|
||||
if(this.egw.user('apps').stylite)
|
||||
|
Loading…
Reference in New Issue
Block a user