mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
Fix JS error when getModuleAdminModuleList() returns null for nonexistent modules
This commit is contained in:
parent
88ac7ef65d
commit
26fd165337
1 changed files with 4 additions and 1 deletions
|
|
@ -83,6 +83,9 @@ xe.ModuleListManager = xe.createApp("ModuleListManager", {
|
|||
|
||||
for(var i in data.module_list){
|
||||
var module = data.module_list[i];
|
||||
if (!module) {
|
||||
continue;
|
||||
}
|
||||
var obj = $(document.createElement('option'));
|
||||
obj.val(module.module_srl).html(module.browser_title + ' (' + module.mid + ', ' + module.module_name + ')').appendTo(self.$selectedObj);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue