Commit 7bb0b51d authored by Antoine Thevenet's avatar Antoine Thevenet
Browse files

fixed the insertion of primitives

parent 0ad70bc5
......@@ -120,8 +120,8 @@ function disableMenuItems() {
}
if (tagAfter == "control" || tagAfter == "sample" || tagAfter == "timer"
|| tagAfter == "if" || tagAfter == "while" || tagAfter == "preemption" || tagAfter == "nchoice"
|| tagAfter == "/if" || tagAfter == "/while" || tagAfter == "/preemption" || tagAfter == "/nchoice"
|| tagAfter == "/then" || tagAfter == "/else") {
|| tagAfter == "/while" || tagAfter == "/preemption" || tagAfter == "/nchoice"
|| tagAfter == "/then" || tagAfter == "/else" || tagAfter == "/behavior" || tagAfter == "/choice") {
disable = false;
}
else {
......
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