Merge lp:~rharding/launchpad/fix_cal2 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Richard Harding on 2012-03-08 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 14979 |
| Proposed branch: | lp:~rharding/launchpad/fix_cal2 |
| Merge into: | lp:launchpad |
| Diff against target: |
165 lines (+48/-31) 6 files modified
lib/lp/app/javascript/calendar.js (+6/-2) lib/lp/app/templates/base-layout-macros.pt (+5/-1) lib/lp/app/templates/launchpad-widget-macros.pt (+5/-26) lib/lp/registry/javascript/tests/test_milestone_creation_failures.html (+22/-1) lib/lp/soyuz/stories/ppa/xx-private-ppa-subscriptions.txt (+0/-1) lib/lp/testing/yuixhr.py (+10/-0) |
| To merge this branch: | bzr merge lp:~rharding/launchpad/fix_cal2 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| j.c.sackett (community) | 2012-03-08 | Approve on 2012-03-08 | |
|
Review via email:
|
|||
Commit Message
[r=jcsackett][bug=949856] Update the way the yui2 calendar bits are included so as to work with the way it's included in launchpad.js.
Description of the Change
= Summary =
The YUI2 calendar is getting pulled from the Yahoo CDN because it's listed as
a YUI.use() section of the calendar bootstrap code.
== Proposed fix ==
- Move the dependencies over to the actual lp.app.calendar module where they
belong.
- Add the list of yui2 modules to the YUIConfig as ignored since they're auto
built into launchpad.js now
- Remove the old links to the calendar files since we don't need them,
calendar bits are in launchpad.js
== Demo and Q/A ==
Make sure that you do not get any external yahoo cdn calls when visiting:
https:/
Make sure that the calendar widgets at the bottom of the page still function
when you click "Choose"

Looks good to me.