mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 19:41:45 +02:00
replace multiple="dynamic" with expand_multiple_rows="4" and remove button to switch to multiple
This commit is contained in:
@ -1291,22 +1291,6 @@ class AdminApp extends EgwApp
|
||||
this.et2.getWidgetById('acc_sieve_enabled').set_value(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Switch to select multiple accounts
|
||||
*
|
||||
* @param {object} _event event-object or information about event
|
||||
* @param {et2_baseWidget} _widget widget causing the event
|
||||
*/
|
||||
edit_multiple(_event, _widget)
|
||||
{
|
||||
// hide multiple button
|
||||
_widget.set_disabled(true);
|
||||
|
||||
// switch account-selection to multiple
|
||||
var account_id = this.et2.getWidgetById('account_id');
|
||||
account_id.set_multiple(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide not applying fields, used as:
|
||||
* - onchange handler on account_id
|
||||
@ -1339,7 +1323,6 @@ class AdminApp extends EgwApp
|
||||
{
|
||||
// switch back to single selectbox
|
||||
account_id.set_multiple(false);
|
||||
this.et2.getWidgetById('button[multiple]').set_disabled(false);
|
||||
}
|
||||
}
|
||||
// switched to single user
|
||||
@ -1584,4 +1567,4 @@ class AdminApp extends EgwApp
|
||||
}
|
||||
}
|
||||
|
||||
app.classes.admin = AdminApp;
|
||||
app.classes.admin = AdminApp;
|
Reference in New Issue
Block a user