From 87b53d10b8d189fc2f58042cd14b176bb83c0a13 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 24 Feb 2015 20:07:04 +0000 Subject: [PATCH] Store column selection in implicit preference --- etemplate/js/et2_widget_gantt.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etemplate/js/et2_widget_gantt.js b/etemplate/js/et2_widget_gantt.js index 084a0b8998..ab4d4f04e5 100644 --- a/etemplate/js/et2_widget_gantt.js +++ b/etemplate/js/et2_widget_gantt.js @@ -1038,6 +1038,9 @@ var et2_gantt = et2_inputWidget.extend([et2_IResizeable,et2_IInput], } self.set_columns(self.gantt_config.columns); + // Update Implicit preference + this.egw().set_preference(self.getInstanceManager().app, 'gantt_columns_' + self.id, value); + // Hide popup self.selectPopup.toggle(); self.selectPopup.remove();