Commit 8b7d0221 authored by Marc Duez's avatar Marc Duez
Browse files

builder.js : system box, disable color for unselected system

parent d502b460
...@@ -514,6 +514,7 @@ line { ...@@ -514,6 +514,7 @@ line {
color: @select; color: @select;
font-family: monospace; font-family: monospace;
font-size: 80%; font-size: 80%;
background: @border;
} }
.systemBox { .systemBox {
......
...@@ -672,10 +672,12 @@ Builder.prototype = { ...@@ -672,10 +672,12 @@ Builder.prototype = {
}, },
build_systemBox: function (system){ build_systemBox: function (system){
var span = document.createElement('span') var span = document.createElement('span')
span.className = "systemBox"; span.className = "systemBox";
if ((typeof system != 'undefined')){ if ((typeof system != 'undefined')){
span.appendChild(document.createTextNode(this.m.germlineList.getShortcut(system))); span.appendChild(document.createTextNode(this.m.germlineList.getShortcut(system)));
if (this.m.system_selected.indexOf(system) == -1)
span.style.background = this.m.germlineList.getColor(system) span.style.background = this.m.germlineList.getColor(system)
span.title = system span.title = system
}else{ }else{
......
...@@ -135,7 +135,6 @@ Graph.prototype = { ...@@ -135,7 +135,6 @@ Graph.prototype = {
this.initData(); this.initData();
this.initClones(); this.initClones();
this.initRes(); this.initRes();
this.resize(); this.resize();
}, },
......
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