witten
/
luminotes
Archived
1
0
Fork 0

Updating to support conversion JavaScript instead of conversion HTML.

This commit is contained in:
Dan Helfman 2008-07-20 15:00:03 -07:00
parent 61985d0318
commit 105dcd3322
1 changed files with 2 additions and 6 deletions

View File

@ -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",
),
)