Comments (6)
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.
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.
This might be similar to the padrino ticket as well since that is a similar situation using UJS.
from akephalos.
Perhaps the page isn't waiting for all the assets to load before continuing with the next step?
from akephalos.
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.
Thank you!
from akephalos.
Related Issues (20)
- encoding problem HOT 1
- Cucumber scenario fails with spork and akephalos HOT 3
- page.evaluate_script('window.history.back()') does nothing
- Spork compatible HOT 18
- No such file or directory - java (Errno::ENOENT) HOT 1
- javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated (NativeException) HOT 3
- Connection refused on AWS works fine locally on osx and Linux HOT 3
- 60 second startup time HOT 1
- Unix Domain Sockets
- com.gargoylesoftware.htmlunit.ScriptException: Unexpected exception occurred while parsing HTML snippet: Property 'http://cyberneko.org/html/properties/balance-tags/fragment-context-stack' is not recognized. HOT 2
- OutOfMemoryError error HOT 1
- Unable to click delete link with confirm prompt HOT 1
- How to replace `switch_to` HOT 2
- java.lang.OutOfMemoryError HOT 5
- POST variables end up as GET variables HOT 2
- random but specific crash HOT 8
- multiple submits to/from same page only submit the first time HOT 5
- Capybara 1.0 compatibility HOT 2
- dom tree leaves end up on the wrong branches HOT 1
- MooTools Request not being submitted HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akephalos.