Commit 2d1db497 authored by Jonathon Duerig's avatar Jonathon Duerig

Fix for Issue #75

The topology button now opens Jacks as read-only if editing a profile created with a TCL/Python script.
parent a13079a6
......@@ -127,9 +127,10 @@ function (_, sup, filesize, JacksEditor, ShowImagingModal, moment, aptforms,
var waitwait_html = waitwaitTemplate({});
$('#waitwait_div').html(waitwait_html);
var showtopo_html = showtopoTemplate({});
$('#showtopomodal_div').html(showtopo_html);
$('#showtopomodal_div').html(showtopo_html);
var isViewer = gotscript;
editor = new JacksEditor($('#editmodal_div'),
false, false, false, false, !multisite);
isViewer, false, false, false, !multisite);
var renderer_html = rendererTemplate({});
$('#renderer_div').html(renderer_html);
var oops_html = oopsTemplate({});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment