Changeset 11540
- Timestamp:
- 02/10/2022 03:52:34 AM (4 years ago)
- Location:
- sites/trunk
- Files:
-
- 2 edited
-
trac.wordpress.org/templates/site.html (modified) (1 diff)
-
wordpress.org/public_html/style/trac/wp-trac.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/trac.wordpress.org/templates/site.html
r11539 r11540 5 5 6 6 <?python 7 scripts_version = '16 0'7 scripts_version = '161' 8 8 project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0] 9 9 wporg_endpoint = 'https://make.wordpress.org/' + project_slug + '/' -
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
r11539 r11540 699 699 700 700 reports: function() { 701 var popup = $( '#report-popup' ), failed = false; 701 var popup = $( '#report-popup' ), 702 $headline = $( '#headline' ), 703 failed = false; 704 702 705 $( '#report-popup' ).on( 'change', '.tickets-by-topic', function() { 703 706 var topic = $(this).val(); … … 708 711 return false; 709 712 }); 713 710 714 popup.appendTo( '#main' ); 715 711 716 $( '.open-ticket-report' ).click( function( event ) { 712 717 // Allow opening the report on make. … … 714 719 return; 715 720 } 721 722 // Calculate the correct position, even if the header size/etc changes. 723 popup.css( 'top', ( $headline.offset().top + $headline.outerHeight() ) + 'px' ); 716 724 717 725 if ( popup.children().length === 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.