Changeset 984

Show
Ignore:
Timestamp:
2008-07-23 19:20:00 (4 months ago)
Author:
MaierMan
Message:

#190: Allow to get (some) POST data.
Less restrictive checking; all form items may be used. Buttons generally offer no menu in fx3, so that won't work.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/integration/elements.js

    r951 r984  
    568568                        else if ( 
    569569                                ctx.target 
    570                                 && ctx.target.localName.toLowerCase() == 'input' 
    571                                 && ctx.target.hasAttribute('type') 
    572                                 && ctx.target.getAttribute('type').toLowerCase() == 'submit' 
    573                                 && 'form' in ctx.target 
     570                                && ('form' in ctx.target) 
    574571                        ) { 
    575572                                if (items[0]) {