Code Monkey home page Code Monkey logo

Comments (6)

bernerdschaefer avatar bernerdschaefer commented on May 28, 2024

Could you give a little more detail for this? Is this just normal :remote => true? Are you specifying a data type? Also, what library are you using (jquery, prototype)?

Thanks

from akephalos.

sserdyuk avatar sserdyuk commented on May 28, 2024

Yes, just normal :remote => true. jQuery http://github.com/sserdyuk/rails3-mongodb-mongoid-cucumber-rspec-factory_girl-spork-capybara-capybara-envjs/blob/master/public/javascripts/jquery.js with a driver http://github.com/sserdyuk/rails3-mongodb-mongoid-cucumber-rspec-factory_girl-spork-capybara-capybara-envjs/blob/master/public/javascripts/rails.js

from akephalos.

zenom avatar zenom commented on May 28, 2024

This might be similar to the padrino ticket as well since that is a similar situation using UJS.

from akephalos.

bjeanes avatar bjeanes commented on May 28, 2024

Perhaps the page isn't waiting for all the assets to load before continuing with the next step?

from akephalos.

bernerdschaefer avatar bernerdschaefer commented on May 28, 2024

I'm closing this issue. Please use #10 to track this. Here's the latest update from there:

I've narrowed down this issue to a bug in HtmlUnit: https://sourceforge.net/tracker/?func=detail&aid=3072866&group_id=47038&atid=448266

In rails.js, this comes before the $('form[data-remote]') handler:

$('a[data-confirm],input[data-confirm]').live('click', function () { // ....

For some reason, this prevents the other event handlers from running, which is why the form is posting directly instead of using ajax. Hopefully this issue will be resolved soon and this will work as expected.

from akephalos.

sserdyuk avatar sserdyuk commented on May 28, 2024

Thank you!

from akephalos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.