mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
simple translator: more work on GlobalSight support
Disable editing source segments in GlobalSight documents
This commit is contained in:
@@ -805,7 +805,8 @@ Translator.prototype.draw_segment_given_target=function(s,target,i) {
|
||||
[insertB,removeB])]))
|
||||
}
|
||||
var source=wrap_class("td","source",text(s.source))
|
||||
source.onclick=function() { t.edit_source(source,i); }
|
||||
if(!t.document.globalsight)
|
||||
source.onclick=function() { t.edit_source(source,i); }
|
||||
var options=wrap_class("td","options",draw_options())
|
||||
|
||||
return node("tr",{"class":"segment",id:i},[actions,source,options,target])
|
||||
|
||||
Reference in New Issue
Block a user