Interesting. My minimal app does not show any "Working..." message. I have to make more tests.
2013/12/9 Martin Weissenboeck <mweis...@gmail.com> > ok, maybe during the next two hours. > > > 2013/12/9 Niphlod <niph...@gmail.com> > >> this is really.... unexpected. >> this line >> >> https://github.com/web2py/web2py/blob/master/applications/welcome/static/js/web2py.js#L462 >> "selects" all the inputs in the form ... that syntax **should** leave out >> all inputs with a name attribute.... >> Can you pack a minimal app to reproduce the issue ? >> >> >> >> On Sunday, December 8, 2013 3:28:06 AM UTC+1, Mark Li wrote: >> >>> My web2py.js is the same as the one shipped with the latest web2py. >>> >>> I also tried adding a "data-w2p_disable_with" attribute to the input, >>> but it didn't change to the attribute value: >>> >>> <input data-w2p_disable_with="message" type="submit"/> >>> >>> >>> On Fri, Dec 6, 2013 at 11:55 AM, Niphlod <nip...@gmail.com> wrote: >>> >>>> 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 a topic in the >>>> Google Groups "web2py-users" group. >>>> To unsubscribe from this topic, visit https://groups.google.com/d/ >>>> topic/web2py/aT_YWu0Ublo/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> web2py+un...@googlegroups.com. >>>> >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> -- >> 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. >> > > > > > -- 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.