Site selector added to menu selector

Graphs added to dashboard



git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12496 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2012-12-31 10:03:35 +00:00
parent c1e3a4ef5d
commit 71db99a4b8
4 changed files with 148 additions and 7 deletions

View file

@ -2284,9 +2284,11 @@ jQuery(function($){
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));
}