Browse files

along with popupforms.js, toggle overlays.css with value of popup che…

…ckbox on themes control panel fixes #11026
  • Loading branch information...
1 parent f5e95e4 commit 4eda983d5678012d2ecc71f49edbd2c8a0be0f59 Chrissy Wainwright committed Nov 18, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 plone/app/controlpanel/skins.py
View
3 plone/app/controlpanel/skins.py
@@ -140,10 +140,13 @@ def set_icon_visibility(self, value):
def get_use_popups(self):
return self.jstool.getResource('popupforms.js').getEnabled()
+ return self.csstool.getResource('++resource++plone.app.jquerytools.overlays.css').getEnabled()
def set_use_popups(self, value):
self.jstool.getResource('popupforms.js').setEnabled(value)
self.jstool.cookResources()
+ self.csstool.getResource('++resource++plone.app.jquerytools.overlays.css').setEnabled(value)
+ self.csstool.cookResources()
use_popups = property(get_use_popups, set_use_popups)

0 comments on commit 4eda983

Please sign in to comment.