Ok I stepped though the javascript when clicking the press me button and 
here is what I found.  Note I added the highlighted line (return false;)

    $.fn.hjq_dialog_open_button = function(annotations) { 
        this.on('click', function() { 
            $(annotations.selector).hjq_dialog_box('toggle'); 
            return false; 
        }); 
    }; 

This is all called from this section of code in jqury.js starting at line 
3319

                    ret = ( specialHandle || handleObj.handler ).apply( 
matched.elem, args ); 

                    if ( ret !== undefined ) { 
                        event.result = ret; 
                        if ( ret === false ) { 
                            event.preventDefault(); 
                            event.stopPropagation(); 
                        }
                    } 

Since hjq_dialog_open_button has no return the preventDefault is never run. 
 If I add the return false; to it like above the dialog box opens and the 
form isn't submitted.

Bob

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/H785laVDV3YJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to