Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- filter.FlightStart(context, {Type: 'country', Code: 'RU'}, function(result){
- if(result == 'RU'){
- filter.FlightStarts(context, {Type: 'city', Code: 'MOW'}, function(result){
- if(result == 'MOW'){
- action.ClearOrigin(context, {toggle: 'all'}, function(){
- end();
- })
- }
- })
- } else {
- filter.FlightStarts(context, {Type: 'country', Code: 'UA'}, function(result){
- if(result == 'UA'){
- action.ClearOrigin(context, {toggle: 'all'}, function(){
- end();
- })
- }
- });
- }
- })
Add Comment
Please, Sign In to add comment