dialog css
This commit is contained in:
parent
4a8781f7d7
commit
b35c1d3be9
2 changed files with 6 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ div.dialog_head {
|
|||
}
|
||||
|
||||
div.dialog_body {
|
||||
padding: 8px 4px 16px 4px;
|
||||
padding: 8px 8px 16px;
|
||||
border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
|
|
|
|||
|
|
@ -46,11 +46,6 @@ class HTTPRequest:
|
|||
# set db
|
||||
self.set_db()
|
||||
|
||||
# check status
|
||||
if webnotes.conn.get_global("__session_status")=='stop':
|
||||
webnotes.msgprint(webnotes.conn.get_global("__session_status_message"))
|
||||
raise Exception
|
||||
|
||||
# -----------------------------
|
||||
# start transaction
|
||||
webnotes.conn.begin()
|
||||
|
|
@ -62,6 +57,11 @@ class HTTPRequest:
|
|||
webnotes.session_obj = Session()
|
||||
webnotes.session = webnotes.session_obj.data
|
||||
|
||||
# check status
|
||||
if webnotes.conn.get_global("__session_status")=='stop':
|
||||
webnotes.msgprint(webnotes.conn.get_global("__session_status_message"))
|
||||
raise Exception
|
||||
|
||||
# write out cookies if sid is supplied (this is a pre-logged in redirect)
|
||||
if webnotes.form_dict.get('sid'):
|
||||
webnotes.cookie_manager.set_cookies()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue