mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 19:02:14 +09:00
menu selector bug fix
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12562 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8ffad6b166
commit
fca5db8bf8
1 changed files with 3 additions and 2 deletions
|
|
@ -2324,14 +2324,15 @@ jQuery(function($){
|
|||
var aSiteList = htRes.site_list;
|
||||
|
||||
$container = $('.x_modal._common .tree');
|
||||
|
||||
// show and fill in
|
||||
var $SiteSelector = $('.x_modal._common .site_selector');
|
||||
|
||||
var nLen = aSiteList.length;
|
||||
if(nLen <= 1){
|
||||
// leave the site selector hidden
|
||||
$SiteSelector.hide();
|
||||
}else{
|
||||
// show and fill in
|
||||
$SiteSelector = $('.x_modal._common .site_selector');
|
||||
$SiteSelector.html("");
|
||||
for(var i=0; i<nLen; i++){
|
||||
$SiteSelector.append($("<option>").val(aSiteList[i].site_srl).html(aSiteList[i].domain));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue