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

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -