Are you sure this happens with the current web2py_ajax.js?

The logic is

   jQuery('#'+target+' form').each(function(i){
      var form=jQuery(this);
      if(!form.hasClass('no_trap'))
        form.submit(function(e){
         jQuery('.flash').hide().html('');
         web2py_ajax_page('post',action,form.serialize(),target);
         e.preventDefault();
      });
   });


so it should not submit for other forms.

On Sep 8, 4:55 pm, DenesL <[email protected]> wrote:
> Components with buttons that are meant for client side scripting are
> being reloaded via ajax post request (I think), shouldn't this
> behavior be limited to the submit button?.

Reply via email to