diff --git a/etemplate/inc/class.etemplate_widget_menupopup.inc.php b/etemplate/inc/class.etemplate_widget_menupopup.inc.php index 2448a40307..1c5eb43727 100644 --- a/etemplate/inc/class.etemplate_widget_menupopup.inc.php +++ b/etemplate/inc/class.etemplate_widget_menupopup.inc.php @@ -220,6 +220,7 @@ class etemplate_widget_menupopup extends etemplate_widget $select_pref = $GLOBALS['egw_info']['user']['preferences']['common']['account_selection']; if($this->attrs['type'] == 'select-account' && !$GLOBALS['egw_info']['user']['apps']['admin'] && $select_pref == 'none') { + // Preserve but do not send the value if preference is 'none' self::$request->preserv[$this->id] = self::$request->content[$this->id]; unset(self::$request->content[$this->id]); $this->attrs['readonly'] = true; diff --git a/etemplate/js/et2_widget_selectAccount.js b/etemplate/js/et2_widget_selectAccount.js index 330be6528a..fc428df394 100644 --- a/etemplate/js/et2_widget_selectAccount.js +++ b/etemplate/js/et2_widget_selectAccount.js @@ -22,7 +22,7 @@ /** * Account selection widget * Changes according to the user's account_selection preference - * - 'none' => Server-side: the read-only widget is used + * - 'none' => Server-side: the read-only widget is used, and no values are sent or displayed * - 'groupmembers' => Non admins can only select groupmembers (Server side - normal selectbox) * - 'selectbox' => Selectbox with all accounts and groups (Server side - normal selectbox) * - 'primary_group' => Selectbox with primary group and search