PDA

View Full Version : Problem on use addClass with Ext.Element



Daniels
11 Nov 2009, 9:21 AM
I'm using Ext on project what I'm working. Well, one of the rules of project is: the applications need to run on Chrome. Some days ago I had the first problem with Chrome, and here I am with the second. Is the same problem: works on Firefox, have a bug on Chrome. The problem is it:

I have a table on html page. I get a cell of the page with Ext.get(id) and I'm adding this code to border:



el.addClass('borderLeft');
el.addClass('borderRight');
el.addClass('borderTop');
el.addClass('borderBottom');
It works well on Firefox, but on Chrome I have a problem in a case(see in the picture bellow).


How I fix it?

Daniels
12 Nov 2009, 3:01 AM
Anyone have a idea of what the problem can be?

Animal
12 Nov 2009, 3:04 AM
You have a bug.

There's no browser dependent code. It just adds the string to the class.

Take a look at the DOM for yourself. It will be working.