File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public function setActiveItem($index) {
5050
5151 private function getItemToInsert ($ item ) {
5252 if ($ item instanceof HtmlInput || $ item instanceof HtmlImg || $ item instanceof HtmlIcon || $ item instanceof HtmlButton || ($ item instanceof HtmlDropdown && $ this ->propertyContains ("class " , "vertical " )===false )) {
53- $ itemO =new HtmlMenuItem ("item- " . $ this ->identifier , $ item );
53+ $ itemO =new HtmlMenuItem ("item- " . $ this ->identifier . " - " . \sizeof ( $ this -> content ) , $ item );
5454 $ item =$ itemO ;
5555 }
5656 return $ item ;
@@ -134,7 +134,7 @@ public function addDropdownAsItem($value, $items=NULL) {
134134 * @see \Ajax\common\html\html5\HtmlCollection::createItem()
135135 */
136136 protected function createItem ($ value ) {
137- $ itemO =new HtmlMenuItem ($ this ->identifier ."item " . \sizeof ($ this ->content ),"" );
137+ $ itemO =new HtmlMenuItem ($ this ->identifier ."- item- " . \sizeof ($ this ->content ),"" );
138138 $ itemO ->setTagName ("a " );
139139 $ itemO ->setContent ($ value );
140140 return $ itemO ;
You can’t perform that action at this time.
0 commit comments