Changeset 11081
- Timestamp:
- Jul 31, 2010, 4:28:00 PM (12 years ago)
- Location:
- trunk/web
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/javascript/common.js
r10866 r11081 9 9 var transmission; 10 10 var dialog; 11 var resizeTimer = null; 11 12 // Test for a Webkit build that supports box-shadow: 521+ (release Safari 3 is 12 13 // actually 523.10.3). We need 3.1 for CSS animation (dialog sheets) but as it … … 80 81 $("label[for=torrent_upload_url]").text("URL: "); 81 82 } 83 84 // Add resize event handler with a timeout to handle browsers that fire a 85 // resize event for every pixel changed 86 $(window).bind('resize', function() { 87 if (resizeTimer) clearTimeout(resizeTimer); 88 resizeTimer = setTimeout('transmission.refreshDisplay()', 50) 89 }); 82 90 }); 83 91 -
trunk/web/javascript/torrent.js
r11066 r11081 662 662 } 663 663 setInnerHTML( root._progress_details_container, progress_details ); 664 665 if( compact ){ 666 var width = root._progress_details_container.offsetLeft - root._name_container.offsetLeft; 667 root._name_container.style.width = width + 'px'; 668 } 669 else { 670 root._name_container.style.width = '100%'; 671 } 664 672 665 673 // Update the peer details and pause/resume button -
trunk/web/javascript/transmission.js
r11011 r11081 1533 1533 this.setPref( Prefs._ShowInspector, true ); 1534 1534 this.updateInspector( ); 1535 this.refreshDisplay( ); 1535 1536 }, 1536 1537 … … 1554 1555 1555 1556 this.setPref( Prefs._ShowInspector, false ); 1557 this.refreshDisplay( ); 1556 1558 }, 1557 1559 … … 1962 1964 this.updateStatusbar( ); 1963 1965 this.selectionChanged( ); 1966 this.refreshDisplay( ); 1964 1967 }, 1965 1968 -
trunk/web/stylesheets/common.css
r11066 r11081 398 398 font-size: 1.3em; 399 399 font-weight: bold; 400 word-wrap: break-word;401 400 overflow: hidden; 401 text-overflow: ellipsis; 402 white-space: nowrap; 402 403 color: #222; 403 404 margin-bottom: 2px; … … 408 409 z-index: 1; 409 410 position: absolute; 411 overflow: hidden; 412 text-overflow: ellipsis; 413 white-space: nowrap; 410 414 } 411 415 … … 416 420 ul.torrent_list li.torrent div.torrent_progress_details, 417 421 ul.torrent_list li.torrent div.torrent_peer_details { 422 clear: left; 418 423 font-size: 1em; 424 overflow: hidden; 425 text-overflow: ellipsis; 426 white-space: nowrap; 419 427 } 420 428
Note: See TracChangeset
for help on using the changeset viewer.