Changeset 5272
- Timestamp:
- 08/27/08 05:29:59 (3 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/itmill/toolkit/terminal/gwt/client/ui/IMenuBar.java
r5158 r5272 67 67 68 68 Element table = DOM.createTable(); 69 Element tbody = DOM.createTBody(); 69 70 DOM.appendChild(this.getElement(), table); 71 DOM.appendChild(table, tbody); 70 72 71 73 if (!subMenu) { 72 74 setStyleName(CLASSNAME); 73 75 Element tr = DOM.createTR(); 74 DOM.appendChild(t able, tr);76 DOM.appendChild(tbody, tr); 75 77 containerElement = tr; 76 78 } else { 77 79 setStyleName(CLASSNAME + "-submenu"); 78 containerElement = t able;80 containerElement = tbody; 79 81 } 80 82 this.subMenu = subMenu;
