Commit fba2b12c by shz

tospur

parent 7e1f815e
...@@ -274,7 +274,9 @@ ...@@ -274,7 +274,9 @@
$("#urbanArea_scroller").children(":not(:first)").remove(); $("#urbanArea_scroller").children(":not(:first)").remove();
if($(this).attr("data-id") != undefined){ if($(this).attr("data-id") != undefined){
$.each(plate[$(this).attr("data-id")],function(i,item){ $.each(plate[$(this).attr("data-id")],function(i,item){
if(item.value){
$("#urbanArea_scroller").append('<a data-id="'+item.id+'">'+item.value+'</a>'); $("#urbanArea_scroller").append('<a data-id="'+item.id+'">'+item.value+'</a>');
}
}); });
} }
urbanAreaScroll.refresh(); urbanAreaScroll.refresh();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment