remove selectedStopItem css class onFeatureUnselect

This commit is contained in:
Sanj 2012-02-28 17:25:14 +05:30
parent feadf4b110
commit ae76b5cdd1

View File

@ -327,6 +327,7 @@ var API_BASE = "/1.0/",
'coordinates': [e.feature.geometry.x, e.feature.geometry.y] 'coordinates': [e.feature.geometry.x, e.feature.geometry.y]
}; };
var $form = getStopForm(stop, geom); var $form = getStopForm(stop, geom);
$('.selectedStopItem').removeClass("selectedStopItem");
$('#stopForm').remove(); $('#stopForm').remove();
$('#formCol').empty(); $('#formCol').empty();
$('#formCol').append($form); $('#formCol').append($form);