Code Duplication    Length = 14-14 lines in 2 locations

api/js/dhtmlxMenu/sources/dhtmlxmenu.js 1 location

@@ 417-430 (lines=14) @@
414
			} else {
415
				this.idPull[pId].style.visibility = "";
416
				//#menu_overflow:06062008#{
417
				if (this.limit > 0 && this.limit < itemCount)  {
418
					// this.idPull[pId].scrollTop = 0;
419
					arrowUp.style.left = x+"px";
420
					arrowUp.style.top = y+"px";
421
					arrowUp.style.width = w+this._arrowFFFix+"px";
422
					arrowUp.style.visibility = "";
423
					//
424
					arrowDown.style.left = x+"px";
425
					arrowDown.style.top = y+h-arrDownH+"px";
426
					arrowDown.style.width = w+this._arrowFFFix+"px";
427
					arrowDown.style.visibility = "";
428
					//
429
					this._checkArrowsState(id);
430
				}
431
				//#}
432
				// show ie6 cover
433
				if (this._isIE6) {

api/js/egw_action/test/js/dhtmlxmenu.js 1 location

@@ 400-413 (lines=14) @@
397
			} else {
398
				this.idPull[pId].style.visibility = "";
399
				//#menu_overflow:06062008#{
400
				if (this.limit > 0 && this.limit < itemCount)  {
401
					// this.idPull[pId].scrollTop = 0;
402
					arrowUp.style.left = x+"px";
403
					arrowUp.style.top = y+"px";
404
					arrowUp.style.width = w+this._arrowFFFix+"px";
405
					arrowUp.style.visibility = "";
406
					//
407
					arrowDown.style.left = x+"px";
408
					arrowDown.style.top = y+arrUpH+h+"px";
409
					arrowDown.style.width = w+this._arrowFFFix+"px";
410
					arrowDown.style.visibility = "";
411
					//
412
					this._checkArrowsState(id);
413
				}
414
				//#}
415
				// show ie6 cover
416
				if (this._isIE6) {