Thanks for a tip. My problem was actually of different nature.

I've look more closely at what I'm trying to do.
I was trying to add commands to a toolbar in a loop, like this:

for (var i in commandSet) {
      toolBar.add(commandSet[i]);
}

Looks like when new Array(element) is called Chrome, the browser puts
indexOf() function at the and.

I've changed the code to:

commandSet.forEach(function(el){
        toolBar.add(el);
});

and it works fine.

Now I know I loose compatibility where JS < 1.6 but it's not immidiate
concern.

Thanks,
Jacob


--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/getLayoutParent-bug-on-Chrome-tp6449586p6449737.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to