ToolForm: Activate tool form

This commit is contained in:
Aysam Guerler
2014-12-10 11:02:50 -05:00
parent 0795557583
commit 0edd57433c
+4 -4
View File
@@ -4,7 +4,7 @@ ${h.js("libs/bibtex", "libs/jquery/jquery-ui")}
${h.css('base', 'jquery-ui/smoothness/jquery-ui')}
## skip new tool form code if disabled
%if trans.app.config.get('toolform_upgrade', False):
##%if trans.app.config.get('toolform_upgrade', False):
<%
## TEMPORARY: create tool dictionary in mako while both tool forms are in use.
## This avoids making two separate requests since the classic form requires the mako anyway.
@@ -28,9 +28,9 @@ ${h.css('base', 'jquery-ui/smoothness/jquery-ui')}
});
</script>
<div id="tool-form-classic" style="display: none;">
%else:
<div id="tool-form-classic">
%endif
##%else:
## <div id="tool-form-classic">
##%endif
<%namespace file="/message.mako" import="render_msg" />
<%namespace file="/base_panels.mako" import="overlay" />