@@ 874-882 (lines=9) @@ | ||
871 | } |
|
872 | return count; |
|
873 | } |
|
874 | dhtmlXMenuObject.prototype._redefineComplexState = function(id) { |
|
875 | // alert(id) |
|
876 | if (this.idPrefix+this.topId == id) { return; } |
|
877 | if ((this.idPull["polygon_"+id] != null) && (this.idPull[id] != null)) { |
|
878 | var u = this._countVisiblePolygonItems(id); |
|
879 | if ((u > 0) && (!this.itemPull[id]["complex"])) { this._updateItemComplexState(id, true, false); } |
|
880 | if ((u == 0) && (this.itemPull[id]["complex"])) { this._updateItemComplexState(id, false, false); } |
|
881 | } |
|
882 | } |
|
883 | /* complex arrow manipulations, over added in 0.4 */ |
|
884 | dhtmlXMenuObject.prototype._updateItemComplexState = function(id, state, over) { |
|
885 | // 0.2 FIX :: topLevel's items can have complex items with arrow |
@@ 845-853 (lines=9) @@ | ||
842 | } |
|
843 | return count; |
|
844 | } |
|
845 | dhtmlXMenuObject.prototype._redefineComplexState = function(id) { |
|
846 | // alert(id) |
|
847 | if (this.idPrefix+this.topId == id) { return; } |
|
848 | if ((this.idPull["polygon_"+id] != null) && (this.idPull[id] != null)) { |
|
849 | var u = this._countVisiblePolygonItems(id); |
|
850 | if ((u > 0) && (!this.itemPull[id]["complex"])) { this._updateItemComplexState(id, true, false); } |
|
851 | if ((u == 0) && (this.itemPull[id]["complex"])) { this._updateItemComplexState(id, false, false); } |
|
852 | } |
|
853 | } |
|
854 | /* complex arrow manipulations, over added in 0.4 */ |
|
855 | dhtmlXMenuObject.prototype._updateItemComplexState = function(id, state, over) { |
|
856 | // 0.2 FIX :: topLevel's items can have complex items with arrow |