projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Disabled menu selection when not logged in.
[htsworkflow.git]
/
htsworkflow
/
frontend
/
static
/
js
/
htsw.js
diff --git
a/htsworkflow/frontend/static/js/htsw.js
b/htsworkflow/frontend/static/js/htsw.js
index 40ddf09eff33020158bc3939fa360b519bb265c8..f2d04d080455f070630209dba8ad7846b61391c2 100644
(file)
--- a/
htsworkflow/frontend/static/js/htsw.js
+++ b/
htsworkflow/frontend/static/js/htsw.js
@@
-239,7
+239,8
@@
$(document).ready(function(){
} else {
tb.add({
text: div_id,
- handler: function() { goto_url(divobj.getAttribute('href')); }
+ handler: function() { goto_url(divobj.getAttribute('href')); },
+ disabled: (divobj.textContent == 'disabled') ? true : false
});
}
});