Skip to content

Commit

Permalink
Merge pull request #33 from plone/datakurre-fix-controlpanel.pt
Browse files Browse the repository at this point in the history
Fix issue where skinsSettings does not have use_popups attribute on Plone 5
  • Loading branch information
vangheem committed Nov 27, 2014
2 parents 751cafe + 9201101 commit 828c9e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plone/app/theming/browser/controlpanel.pt
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,8 @@

<div
class="field"
tal:define="selected python:request.get('usePopups', view.skinsSettings.use_popups)">
tal:define="selected_default view/skinsSettings/use_popups|python:False;
selected python:request.get('usePopups', selected_default)">

<input type="hidden" value="" name="usePopups:boolean:default" />
<input type="checkbox" value="1" name="usePopups:boolean" id="usePopups"
Expand Down

1 comment on commit 828c9e2

@mister-roboto
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TESTS PASSED
Mr.Roboto url : http://jenkins.plone.org/roboto/get_info?push=f493a183397245f9b20d006b69c75a84
plone-5.0-python-2.7 [SUCCESS]

Please sign in to comment.