Permalink
Browse files

Fixing a bug in traversals in jquery locators, broken in a merge

  • Loading branch information...
admc committed May 25, 2010
1 parent b644cfa commit b337038f53e49e59872d35bc19de90d9d846dd8e
Showing with 1 addition and 1 deletion.
  1. +1 −1 windmill/html/js/wm/global.js
@@ -87,7 +87,7 @@ var lookupNode = function (paramObject, scroll){
s = 'Looking up jquery selector '+ paramObject.jquery;
paramObject.jquery = windmill.helpers.replaceAll(paramObject.jquery, ").", ")<*>");
var jQ = jQuery(windmill.testWin().document);
- var chain= paramObject.jquery.split('||');
+ var chain= paramObject.jquery.split('<*>');
paramObject.jquery = windmill.helpers.replaceAll(paramObject.jquery, "<*>", ".");
var start = eval('jQ.find'+chain[0]);

0 comments on commit b337038

Please sign in to comment.