Updating to support conversion JavaScript instead of conversion HTML.
This commit is contained in:
parent
61985d0318
commit
105dcd3322
|
@ -93,11 +93,11 @@ class Main_page( Page ):
|
|||
else:
|
||||
notebook_path = u"/notebooks/%s" % notebook.object_id
|
||||
|
||||
conversion_html = None
|
||||
conversion_js = None
|
||||
|
||||
if conversion:
|
||||
try:
|
||||
conversion_html = file( u"static/html/%s_conversion.html" % conversion ).read()
|
||||
conversion_js = file( u"static/js/%s_conversion.js" % conversion ).read()
|
||||
except IOError:
|
||||
pass
|
||||
|
||||
|
@ -223,10 +223,6 @@ class Main_page( Page ):
|
|||
),
|
||||
id = u"center_area",
|
||||
),
|
||||
Div(
|
||||
conversion_html,
|
||||
id = u"conversion_area",
|
||||
),
|
||||
id = u"everything_area",
|
||||
),
|
||||
)
|
||||
|
|
Reference in New Issue