Changeset 3647 for branches/2.2/filemanager/js/draw_api.js
- Timestamp:
- 12/29/10 16:42:52 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/filemanager/js/draw_api.js
r3642 r3647 86 86 if( showHidden == null ) 87 87 showHidden = new ShowHidden( 200 ); 88 88 89 89 var _itens = ""; 90 90 … … 93 93 if( _options[i].constructor == Function ) 94 94 continue; 95 95 96 96 _itens += '<img src="' + _options[i][2] + '" '+ _options[i][3] +'/>'; 97 97 _itens += '<a href='+_options[i][1]+' style="cursor:pointer; margin:3px;">' + _options[i][0] + '</a><br/>' … … 100 100 var _optionsItens = document.createElement("div"); 101 101 _optionsItens.id = "fastMenuFileManager"; 102 _optionsItens.style.top = _parent.style.top + "px";103 _optionsItens.style.left = ( _parent.style.left + 40 ) + "px";104 102 _optionsItens.className = "x-menu"; 105 103 _optionsItens.style.zIndex = zIndex++; … … 111 109 showHidden.action('onmouseover', 'onmouseout', _optionsItens); 112 110 113 _parent.parentNode.appendChild( _optionsItens ); 114 111 _parent.parentNode.appendChild( _optionsItens ); 115 112 } 116 113 … … 476 473 return filesUrl; 477 474 } 475 478 476 toolbar.prototype.control = function () 479 477 { 480 var arg = arguments[0];478 var _arg = arguments[0]; 481 479 var _parent = ( arguments[1] ) ? arguments[1] : null ; 482 483 switch ( arg )480 481 switch ( _arg ) 484 482 { 485 483 case 'new': … … 495 493 496 494 draw_menu( itens, _parent ); 497 495 498 496 break; 499 497
Note: See TracChangeset
for help on using the changeset viewer.