1
0
forked from GitHub/gf-core

simple translator: more work on GlobalSight support

Disable editing source segments in GlobalSight documents
This commit is contained in:
hallgren
2012-09-11 13:23:05 +00:00
parent 1874e932e3
commit 0cc0a03ac9

View File

@@ -805,6 +805,7 @@ Translator.prototype.draw_segment_given_target=function(s,target,i) {
[insertB,removeB])]))
}
var source=wrap_class("td","source",text(s.source))
if(!t.document.globalsight)
source.onclick=function() { t.edit_source(source,i); }
var options=wrap_class("td","options",draw_options())