mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
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(","),
|
this.egw().set_preference(app, pref, colDisplay.join(","),
|
||||||
// Use callback after the preference gets set to trigger refresh, in case app
|
// Use callback after the preference gets set to trigger refresh, in case app
|
||||||
// isn't looking at selectcols and just uses preference
|
// 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
|
// Save adjusted column sizes
|
||||||
|
@ -59,6 +59,8 @@ app.classes.infolog = AppJS.extend(
|
|||||||
var nm = this.et2.getWidgetById('nm');
|
var nm = this.et2.getWidgetById('nm');
|
||||||
var filter2 = nm.getWidgetById('filter2');
|
var filter2 = nm.getWidgetById('filter2');
|
||||||
this.show_details(filter2.value == 'all',nm.getDOMNode(nm));
|
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
|
// Enable decrypt on hover
|
||||||
if(this.egw.user('apps').stylite)
|
if(this.egw.user('apps').stylite)
|
||||||
|
Loading…
Reference in New Issue
Block a user