search for: new_ev

Displaying 3 results from an estimated 3 matches for "new_ev".

Did you mean: newdev
2007 Dec 04
6
Problem preventing double click with ajax submit button
For a regular form I use the :onlick option to disable the submit button after the first click in order to prevent double clicks (leading to double entries): <% form_tag :action => ''create'' do %> <%= submit_tag "Create", :onclick => "this.disabled=true,this.form.submit();"%> I''m having trouble using this same method to prevent
2010 Sep 20
0
No subject
...PMTU_DISCOVERY && !from->mtuevent) - send_mtu_probe(from); - + if(from->options & OPTION_PMTU_DISCOVERY && !from->mtuevent) { + //if(strcmp(from->name, myself->name) > 0) { + // // delay mtu discovery to prevent synchronous bursts + // from->mtuevent =3D new_event(); + // from->mtuevent->handler =3D (event_handler_t)send_mtu_probe; + // from->mtuevent->data =3D from; + // from->mtuevent->time =3D now + 1; + // event_add(from->mtuevent); + //}else + send_mtu_probe(from); + } return true; } diff --git a/src/route.c b/src/route...
2010 Feb 16
0
Strange routing(?) Issue
...event_comments GET /events/:event_id/ comments(.:format) {:action=>"index", :controller=>"comments"} POST /events/:event_id/ comments(.:format) {:action=>"create", :controller=>"comments"} new_event_comment GET /events/:event_id/comments/ new(.:format) {:action=>"new", :controller=>"comments"} edit_event_comment GET /events/:event_id/ comments/:id/edit(.:format) {:action=>"edit", :controller=>"comments"}...