Changeset 1244
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor-test/src/test/resources/test.html
r1090 r1244 37 37 </tr> 38 38 <tr> 39 <td class="label">input type text (unmonitored)</td> 40 <td><input type="text" class=" bla djg autoquest-unmonitored bdf"/></td> 41 </tr> 42 <tr> 39 43 <td class="label">text area</td> 40 44 <td><textarea style="width:600px;height:120px;"></textarea></td> -
trunk/autoquest-htmlmonitor/src/main/js/autoquest-htmlmonitor.js
r1082 r1244 524 524 var eventObj = null; 525 525 var tagName; 526 var unmonitored; 526 527 527 528 if (!autoquestDestination) { … … 573 574 tagName = getTagName(node); 574 575 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)) { 576 584 if ((eventType === "onkeypress") || 577 585 (eventType === "onkeydown") ||
Note: See TracChangeset
for help on using the changeset viewer.