fix error
This commit is contained in:
parent
e6429a8ea1
commit
ae192c2847
|
@ -81,7 +81,7 @@
|
||||||
$.post( "/admin/ruling_buses/get_stops_and_code_for_city?locale=<%= I18n.locale %>", {city: $(self).val(), default_locale: default_locale}, function( data ) {
|
$.post( "/admin/ruling_buses/get_stops_and_code_for_city?locale=<%= I18n.locale %>", {city: $(self).val(), default_locale: default_locale}, function( data ) {
|
||||||
var options = [];
|
var options = [];
|
||||||
$.each(data['stops'], function (key,value) {
|
$.each(data['stops'], function (key,value) {
|
||||||
if (typeof(value).toLowerCase()!='string'){
|
if ((typeof(value)).toLowerCase()!='string'){
|
||||||
var id = value[0];
|
var id = value[0];
|
||||||
var v = value[1];
|
var v = value[1];
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue