Merge lp:~allenap/launchpad/deriveDistroSeries-json-weirdness-bug-753249 into lp:launchpad
Proposed by
Gavin Panella
Status: | Merged |
---|---|
Approved by: | Gavin Panella |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12925 |
Proposed branch: | lp:~allenap/launchpad/deriveDistroSeries-json-weirdness-bug-753249 |
Merge into: | lp:launchpad |
Diff against target: |
117 lines (+51/-22) 2 files modified
lib/lp/app/javascript/client.js (+12/-8) lib/lp/app/javascript/tests/test_lp_client.js (+39/-14) |
To merge this branch: | bzr merge lp:~allenap/launchpad/deriveDistroSeries-json-weirdness-bug-753249 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gary Poster (community) | Approve | ||
Review via email: mp+59120@code.launchpad.net |
Commit message
[r=gary][bug=753249] Enable append_qs() to deal with array argument values.
Description of the change
append_qs() in client.js could not deal with array argument values
properly. This is something that any API call that accepts a list
needs, so I've implemented it.
I've manually verified that this fixes the linked bug. I started work
on a Windmill test, but got stupid errors from Windmill regarding
profiles in Firefox. Purging Firefox and re-installing makes no
difference. I've dumped the work I've started into another branch and
I'll file a bug for that. Meanwhile I want to get this landed.
To post a comment you must log in.
Very nice, Gavin. Thank you.
If you haven't run "make lint," please do--I have been led to believe that we now have Crockford's jslint hooked up.
As a matter of sharing a discussion we've been having, we've been talking about putting "var" outside of for statements, to accurately represent scope. Crockford apparently recommends this. Do what you will, if make lint does not complain. :-)