Added a subtle but useful | to the toolbar
[htsworkflow.git] / htsworkflow / frontend / static / js / htsw.js
index 40ddf09eff33020158bc3939fa360b519bb265c8..7129ac532cbbe9dbe98c6eddb358aaa5cb1a2f21 100644 (file)
@@ -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 
                 });
             }
         });
@@ -266,6 +267,7 @@ $(document).ready(function(){
     bcmagic_input.on('specialkey', bcmagic_ext_keyhandler);
     
     main_tb.add(bcmagic_input);
+    main_tb.add('-')
     //--------------------------------------
     
     var user_info = Ext.fly('login_info');