Skip to content

Commit

Permalink
add LAYOUT_NEW_WINDOW
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed Aug 2, 2018
1 parent 7682aac commit cd0a19a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyforms_web/basewidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ def js(self):


class PopupWindow(BaseWidget):
LAYOUT_POSITION = conf.ORQUESTRA_NEW_WINDOW
LAYOUT_POSITION = conf.LAYOUT_NEW_WINDOW

def __init__(self, title, msg, buttons, handler, msg_type, parent_win=None):
BaseWidget.__init__(self, title, parent_win=parent_win)
Expand Down
1 change: 1 addition & 0 deletions pyforms_web/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

PYFORMS_APPS = {}

LAYOUT_NEW_WINDOW = 2

try:
import os
Expand Down

0 comments on commit cd0a19a

Please sign in to comment.