mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 09:28:29 +01:00
- Clear owner & allowed popups after changing
- Make allowed popup user selection not look disabled
This commit is contained in:
parent
57cc6dba1a
commit
bff2bdc6d6
@ -127,6 +127,7 @@ class importexport_definitions_ui
|
||||
// Action has an additional parameter
|
||||
if(in_array($content['nm']['action'], array('owner', 'allowed')))
|
||||
{
|
||||
$action = $content['nm']['action'];
|
||||
if($content['nm']['action'] == 'allowed')
|
||||
{
|
||||
$content['allowed'] = $content['allowed_private'] ? null : ($content['all_users'] ? 'all' : implode(',',$content['allowed']));
|
||||
@ -136,6 +137,7 @@ class importexport_definitions_ui
|
||||
$content[$content['nm']['action']] = implode(',',$content[$content['nm']['action']]);
|
||||
}
|
||||
$content['nm']['action'] .= '_' . $content[$content['nm']['action']];
|
||||
unset($content[$action]);
|
||||
}
|
||||
if ($this->action($content['nm']['action'],$content['nm']['selected'],$content['nm']['select_all'],
|
||||
$success,$failed,$action_msg,'index',$msg))
|
||||
|
File diff suppressed because one or more lines are too long
@ -88,7 +88,7 @@
|
||||
<description value="Select groups"/>
|
||||
<checkbox label="%s Just me" id="allowed_private"/>
|
||||
<checkbox label="%s All users" id="all_users"/>
|
||||
<listbox type="select-account" id="allowed" rows="5" options="groups" class="action_popup-content"/>
|
||||
<listbox type="select-account" id="allowed" rows="5" options="groups"/>
|
||||
<hbox>
|
||||
<button label="Save" onclick="nm_submit_popup(this); return false;"/>
|
||||
<buttononly label="Cancel" onclick="nm_hide_popup(this,'allowed_popup');"/>
|
||||
|
Loading…
Reference in New Issue
Block a user