Commit 83baa36e authored by flothoni's avatar flothoni Committed by Mathieu Giraud

model.js; disable normalization div if multiple clones selected

link to #1292
parent f8591b3a
...@@ -2273,3 +2273,9 @@ form .form_label { ...@@ -2273,3 +2273,9 @@ form .form_label {
[hidden] { [hidden] {
display: none !important; display: none !important;
} }
.disabledbutton {
pointer-events: none;
opacity: 0.4;
}
\ No newline at end of file
...@@ -2051,6 +2051,11 @@ changeAlleleNotation: function(alleleNotation) { ...@@ -2051,6 +2051,11 @@ changeAlleleNotation: function(alleleNotation) {
if (top<minTop) top=minTop; if (top<minTop) top=minTop;
if (top>maxTop) top=maxTop; if (top>maxTop) top=maxTop;
this.tagSelector.style.top=top+"px"; this.tagSelector.style.top=top+"px";
// If multiple clones Ids; disabled normalization div
if (clonesIDs.length > 1) {
$("#"+div.id).addClass("disabledbutton");
}
}, },
......
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