Javascript displayed at top of 100 paper cuts page

Bug #391647 reported by Steve Magoun
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

When I visit https://edge.launchpad.net/hundredpapercuts/karmic , I see the following text at the very top of the page:

YUI().use( 'node', 'lp.milestoneoverlay', 'lp.milestonetable', function (Y) { var series_uri = '/hundredpapercuts/karmic'; var milestone_form_uri = 'https://edge.launchpad.net/hundredpapercuts/karmic/+addmilestone/++form++'; var milestone_row_uri_template = '/hundredpapercuts/+milestone/{name}/+productseries-table-row'; var milestone_rows_id = '#milestone-rows'; Y.on('domready', function () { var create_milestone_link = Y.get('.menu-link-create_milestone'); create_milestone_link.addClass('js-action'); var config = { milestone_form_uri: milestone_form_uri, series_uri: series_uri, next_step: Y.lp.milestonetable.get_milestone_row, activate_node: create_milestone_link }; Y.lp.milestoneoverlay.attach_widget(config); var table_config = { milestone_row_uri_template: milestone_row_uri_template, milestone_rows_id: milestone_rows_id } Y.lp.milestonetable.setup(table_config); }); });

Revision history for this message
Steve Magoun (smagoun) wrote :
Revision history for this message
Steve Magoun (smagoun) wrote :

Browser is FF 3.0.11 in Jaunty; LP version is r8193

Revision history for this message
Steve Magoun (smagoun) wrote :

More info:
System is amd64. I don't have any extensions installed other than "Ubuntu Firefox Modifications 0.7". Theme is "Default Theme 3.0.11".

Looking at the page source, there seems to be a spurious </script> tag (or a missing <script> tag):

    <script type="text/javascript"
            src="https://edge.launchpad.net/+icing/rev8193/build/registry/milestone_table.js"></script>

    YUI().use(
        'node', 'lp.milestoneoverlay', 'lp.milestonetable', function (Y) {

[...]
        });
    });
    </script>

Revision history for this message
Diogo Matsubara (matsubara) wrote :

I couldn't reproduce this issue on FF 3.0.11 on Jaunty i386

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.