Skip to content

Commit

Permalink
reanimated request shortcut is_zmi
Browse files Browse the repository at this point in the history
  • Loading branch information
drfho authored Oct 11, 2023
1 parent 5e17e0d commit c13e0c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Products/zms/ZMSItem.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def zmi_page_request(self, *args, **kwargs):
RESPONSE.setHeader('Cache-Control', 'no-cache')
RESPONSE.setHeader('Pragma', 'no-cache')
RESPONSE.setHeader('Content-Type', 'text/html;charset=%s'%request['ZMS_CHARSET'])
request.set( 'is_zmi', True)
if not request.get( 'preview'):
request.set( 'preview', 'preview')
langs = self.getLanguages(request)
Expand Down

0 comments on commit c13e0c3

Please sign in to comment.