[tree] Fixed call to tree from toolbar
authorAsier Lostalé <asier.lostale@openbravo.com>
Mon, 24 Jan 2011 14:56:49 +0100
changeset 10097 413d4f41dde7
parent 10096 7a0d3db89d15
child 10098 b3960e2ed9de
[tree] Fixed call to tree from toolbar
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js	Mon Jan 24 14:27:09 2011 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-toolbar.js	Mon Jan 24 14:56:49 2011 +0100
@@ -826,8 +826,8 @@
 OB.ToolbarUtils.showTree = function(view){
   // Open tree through menu to have hidden vertical menu which is needed to show old JS messages
   var popupParams = 'url=/utility/WindowTree.html';
-  popupParams += 'Command=DEFAULT';
-  pupopParams += '&inpTabId=' + view.tabId;
+  popupParams += '&Command=DEFAULT';
+  popupParams += '&inpTabId=' + view.tabId;
   popupParams += '&hideMenu=true&noprefs=true';
   OB.Layout.ClassicOBCompatibility.Popup.open('tree', 750, 625, OB.Application.contextUrl + '/security/Menu.html?'+popupParams, '', window, false, false, true);
 };