Changeset 937


Ignore:
Timestamp:
10/23/12 09:43:38 (12 years ago)
Author:
pharms
Message:
  • added provision of input type to be able to better distinguish them
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-htmlmonitor/src/main/js/autoquest-htmlmonitor.js

    r927 r937  
    193193    if (node.nodeType === Node.ELEMENT_NODE) { 
    194194        nodePath += node.tagName.toLowerCase(); 
     195         
     196        if ("input" === node.tagName.toLowerCase()) { 
     197            if (node.type && (node.type !== "")) { 
     198                nodePath += "_" + node.type; 
     199            } 
     200            else { 
     201                nodePath += "_text"; 
     202            } 
     203        } 
    195204    } 
    196205    else { 
Note: See TracChangeset for help on using the changeset viewer.