@@ 1643-1656 (lines=14) @@ | ||
1640 | } |
|
1641 | ||
1642 | /* add item to storage */ |
|
1643 | dhtmlXMenuObject.prototype._addItemIntoGlobalStrorage = function(itemId, itemParentId, itemText, itemType, disabled, img, imgDis) { |
|
1644 | var item = { |
|
1645 | id: itemId, |
|
1646 | title: itemText, |
|
1647 | imgen: (img!=null?img:""), |
|
1648 | imgdis: (imgDis!=null?imgDis:""), |
|
1649 | type: itemType, |
|
1650 | state: (disabled==true?"disabled":"enabled"), |
|
1651 | parent: itemParentId, |
|
1652 | complex:false, |
|
1653 | hotkey: "", |
|
1654 | tip: ""}; |
|
1655 | this.itemPull[item.id] = item; |
|
1656 | } |
|
1657 | /* recursively creates and adds submenu polygon */ |
|
1658 | dhtmlXMenuObject.prototype._addSubMenuPolygon = function(id, parentId) { |
|
1659 | var s = this._renderSublevelPolygon(id, parentId); |
@@ 1611-1624 (lines=14) @@ | ||
1608 | } |
|
1609 | ||
1610 | /* add item to storage */ |
|
1611 | dhtmlXMenuObject.prototype._addItemIntoGlobalStrorage = function(itemId, itemParentId, itemText, itemType, disabled, img, imgDis) { |
|
1612 | var item = { |
|
1613 | id: itemId, |
|
1614 | title: itemText, |
|
1615 | imgen: (img!=null?img:""), |
|
1616 | imgdis: (imgDis!=null?imgDis:""), |
|
1617 | type: itemType, |
|
1618 | state: (disabled==true?"disabled":"enabled"), |
|
1619 | parent: itemParentId, |
|
1620 | complex:false, |
|
1621 | hotkey: "", |
|
1622 | tip: ""}; |
|
1623 | this.itemPull[item.id] = item; |
|
1624 | } |
|
1625 | /* recursively creates and adds submenu polygon */ |
|
1626 | dhtmlXMenuObject.prototype._addSubMenuPolygon = function(id, parentId) { |
|
1627 | var s = this._renderSublevelPolygon(id, parentId); |