can you please check that your web2py.js is the same one shipped with the latest web2py ? You can fetch it here https://raw.github.com/web2py/web2py/master/applications/welcome/static/js/web2py.js
On Friday, December 6, 2013 12:31:17 AM UTC+1, Mark Li wrote: > > Hey Niphlod, > > The 2 submit buttons have different names, here's the resulting HTML. > > <tr id="submit_record__row"> > <td class="w2p_fl"></td> > <td class="w2p_fw"> > <input name="save_progress" type="submit" value="Save Progress" /> > <input class="btn" name="post_playlist" type="submit" value="Post > Playlist" /> > </td> > <td class="w2p_fc"></td> > </tr> > > However, clicking on either results in both having the "working..." > message. Is this not intended behavior? > > One of the form submit buttons is from the SQLFORM (i add a _name > attribute later), and the other one I insert into the form. > > On Thursday, December 5, 2013 12:50:00 PM UTC-8, Niphlod wrote: >> >> uhm, you're right. However, usually with different submit buttons you'd >> likely have one of them having a "name" attribute (and those are "excluded" >> from being put in the "working..." state).... is this your case ? >> >> How are you handling different "posts" based on the fact that the user >> clicks on one instead of the other ? >> >> BTW2: if any "clickable-something" has a data-w2p_disable_with attribute, >> that one is used instead of the default "Working..." message >> >> >> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.