View Full Version : SwapStyleSheet problem

24 Feb 2009, 2:28 AM
I while ago I read in this forum about problems with switching themes in FF. It was related to a bug in FF. I had those problems and they were gone weeks ago.

Now they appear to be back. I use a qWiki desktop application. Preferences in the Desktop use:

Ext.util.CSS.swapStyleSheet('theme', o.path);

to switch styleSheet

Now they are back and not only in FF. In Opera and FF if I try to switch theme only the fontcolor is switched. IE works fine!!!!

24 Feb 2009, 8:34 AM
Can you repro this in a simple testcase without using qWiki, which most people here have no experience with?

9 Mar 2009, 9:33 AM
Simply qWiki without my added functionality works fine. There must be some other .css I added that cause this problem. As I said only in FF. I keep trying to find whats happening here.

14 Mar 2009, 4:23 PM
Problem solved. Don't ask me why but for some reason the .css files were moved outside <head>. Put them back and ThemeSwap is working again.