Richard Harding has proposed merging lp:~rharding/launchpad/fix_productjs into
lp:launchpad.
Requested reviews:
Richard Harding (rharding)
Related bugs:
Bug #1049880 in Launchpad itself: "Project registration JS is in .pt without
tests."
https://bugs.launchpad.net/launchpad/+bug/1049880
For more details, see:
https://code.launchpad.net/~rharding/launchpad/fix_productjs/+merge/125159
This fixes the calling of the broken out JS for registering new projects.
--
https://code.launchpad.net/~rharding/launchpad/fix_productjs/+merge/125159
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.
=== modified file 'lib/lp/registry/templates/product-new.pt'
--- lib/lp/registry/templates/product-new.pt 2012-09-18 12:42:20 +0000
+++ lib/lp/registry/templates/product-new.pt 2012-09-19 10:45:26 +0000
@@ -14,9 +14,9 @@
* details widgets until the user states that the project they are
* registering is not a duplicate.
*/
- LPJS.use('views.registry_product', function(Y) {
+ LPJS.use('registry.product-views', function(Y) {
Y.on('domready', function() {
- var view = new Y.views.registry.NewProduct();
+ var view = new Y.registry.views.NewProduct();
view.render();
});
});
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help : https://help.launchpad.net/ListHelp