Start of inventory app page.
[htsworkflow.git] / htsworkflow / frontend / static / js / htsw.js
index 4be8a5dc69f6dc21ecb4ced9f74771781c0d2ad1..72bead1dde34278b0451c05d6053b28df8a604d4 100644 (file)
@@ -175,7 +175,10 @@ $(document).ready(function(){
                    height: 30
                    //margins: '2 0 0 0'
                }],
-           height: 90
+           height: 90,
+           collapsible: true,
+           collapseMode: 'mini',
+           split: true
        },menuPanel,{
             //title: 'Body',
             region: 'center',
@@ -275,4 +278,11 @@ $(document).ready(function(){
     
     // Focus on barcode magic, because it's awesome and needs attention! ;-)
     bcmagic_input.focus();
+    
+    // FIXME: grid target temp code.
+    var grid_target = Ext.fly('grid_target');
+    if (grid_target != null){
+      var grid = getInventoryDataGrid();
+      grid.render(grid_target);
+    }
 });
\ No newline at end of file