Ignore:
Timestamp:
06/28/13 15:46:38 (11 years ago)
Author:
pharms
Message:
  • added support for preventing monitoring selected values of marked GUI elements
File:
1 edited

Legend:

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

    r1082 r1244  
    524524    var eventObj = null; 
    525525    var tagName; 
     526    var unmonitored; 
    526527 
    527528    if (!autoquestDestination) { 
     
    573574    tagName = getTagName(node); 
    574575     
    575     if ("input_password" !== tagName) { 
     576    if (node.getAttribute && node.getAttribute("class")) { 
     577        unmonitored = node.getAttribute("class").indexOf("autoquest-unmonitored") >= 0; 
     578    } 
     579    else { 
     580        unmonitored = false; 
     581    } 
     582     
     583    if (!unmonitored && ("input_password" !== tagName)) { 
    576584        if ((eventType === "onkeypress") || 
    577585            (eventType === "onkeydown") || 
Note: See TracChangeset for help on using the changeset viewer.