mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 10:19:55 +09:00
Fix #1393 allow adding module admin by email address
This commit is contained in:
parent
09c48abee9
commit
5e9d9ef02f
7 changed files with 32 additions and 23 deletions
|
|
@ -107,7 +107,7 @@ function doInsertAdmin() {
|
|||
sel_obj.options[sel_obj.options.length] = opt;
|
||||
|
||||
fo_obj.admin_id.value = '';
|
||||
sel_obj.size = sel_obj.options.length;
|
||||
sel_obj.size = Math.max(3, sel_obj.options.length);
|
||||
sel_obj.selectedIndex = -1;
|
||||
|
||||
var members = new Array();
|
||||
|
|
@ -125,7 +125,7 @@ function doDeleteAdmin() {
|
|||
var sel_obj = fo_obj._admin_member;
|
||||
sel_obj.remove(sel_obj.selectedIndex);
|
||||
|
||||
sel_obj.size = sel_obj.options.length;
|
||||
sel_obj.size = Math.max(3, sel_obj.options.length);
|
||||
sel_obj.selectedIndex = -1;
|
||||
|
||||
var members = new Array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue