fixed compatibility issues in CRYPT
This commit is contained in:
@@ -248,8 +248,11 @@ def sort_tables(tables):
|
||||
def append(table,trail=[]):
|
||||
if table in trail:
|
||||
raise RuntimeError
|
||||
for t in d[table]: append(t,trail=trail+[table])
|
||||
if not table in tables: tables.append(table)
|
||||
for t in d[table]:
|
||||
# if not t==table: (problem, no dropdown for self references)
|
||||
append(t,trail=trail+[table])
|
||||
if not table in tables:
|
||||
tables.append(table)
|
||||
for table in d: append(table)
|
||||
return tables
|
||||
|
||||
|
||||
@@ -45,6 +45,10 @@
|
||||
response.files.append(URL('static','css/web2py.css'))
|
||||
response.files.append(URL('static','css/bootswatch.css'))
|
||||
}}
|
||||
<!-- Makes bootswatch working on IE 7/8 -->
|
||||
<!--[if (lt IE 9)]>
|
||||
<link rel="stylesheet" href="{{=URL('static','css/bootswatch_ie.css')}}">
|
||||
<![endif]-->
|
||||
|
||||
{{include 'web2py_ajax.html'}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user