Closed r-deleon closed 10 years ago
Well...I tested on firefox and it works fine. The issue was on Google Chrome Version 33.0, Ubuntu 13.04
@r-deleon could you please post the theme you are importing and give us a link to it? For which version of jQuery Mobile was the theme designed?
I'm still seeing this issue on Chrome Version: 34.0.1847.116 It was created for Jquery Mobile 1.3.2. Theme: https://gist.github.com/r-deleon/11403523
Import and try to add a new swatch.
@r-deleon Thanks! Will do!
OK. I've reproduced it. I guess it's only happening with 1.3.2 themes.
Interestingly, the issue cannot be reproduced if you import your theme after having launched theme roller with ?ver=1.3.2
- that is, if you go straight to version 1.3.2. If, however, you launch it with the default version (currently 1.4.2), then select 1.3.2 from the dropdown, and then import the theme, adding a swatch will cause swatch b to no longer show.
The issue can be reproduced with the latest FF.
To reproduce:
At this point, swatch b assumes the colours of swatch c.
To reproduce:
- Open theme roller in the browser
- Switch to version 1.3.2
- Colour your first two swatches. Leave the third one alone
- Click download, give the theme the name "tmp", and open the file themes/tmp.css which is contained in the resulting zipfile with your favourite text editor.
- Copy the contents of the file to the clipboard.
- Close the browser containing theme roller, and re-open theme roller.
- Switch to version 1.3.2
- Click import
- Paste the text copied from the text editor into the textarea.
- Click "Import"
- Click "Add swatch..." in the big gray box next to swatch c.
At this point, swatch b assumes the colours of swatch c.
I can no longer reproduce the problem via these steps after having landed the fix.
After I Import a theme if I want to add another swatch the last I have is override. Say the theme i have has swatch A and B. After I click on the add buton swatch C is added but swatch B is not anymore with the style I recently import.
Not sure if i'm doing something wrong. Thanks.