javascript - FOSJsRouting: Routing.generate not working on Android devices -


in symfony2 project use routing within event listener. on desktop works fine, not on android devices. how can make code work android?

here comes code:

$('.my-links a').click(function (e) {             e.preventdefault();              var setactive = {                 user: $(this).data('user')             };              console.log('on android code gets processed until here, not beyond');              $.get(routing.generate('_my_route', setactive, true)).success(function () {                 window.location = '{{ url('_some_other_route') }}';             }) }) 

could because assets not correctly installed in non-dev version ?

php app/console assets:install --symlink web 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -