- Change Summary:
-
Fixed some missing imports.
- Commit:
-
08abaeba015eb635525ea682ab697d2428c9bfe4a55a6b2bac3ec6d224a3306bb6131bd437589201
- Diff:
-
Revision 2 (+1503)
Add an app for managing multi-"page" config forms.
Review Request #5587 — Created March 4, 2014 and submitted
This makes it easy for a view to provide collections of configuration
pages with a sidebar used for navigation. Each page can have one or more
forms, each of which can be submitted individually.This is a generalization of the My Account page from Review Board 2.0,
and the Team Admin page from RBCommons. All the JavaScript and CSS were
directly copied from Review Board (with the addition of the two macros
the .less file needs).
Ported Review Board 2.0's My Account page to sit on top of this. Worked
without any problems.
Description | From | Last Updated |
---|---|---|
I'm not sure I like assigning to the "formView" variable in a loop like this--it seems like if something breaks, … |
david | |
These should be declared in the var statement at the top of the function. |
david | |
One line? |
david | |
This could be chained onto the assignment. |
david | |
Same here. |
david | |
And here. |
david | |
Which would let you assign this in the definition. |
david | |
Same comments here. |
david | |
You get the idea. |
david | |
Since every test function calls this, it should be moved into beforeEach |
david | |
I think the more common pattern for this is: window.Djblets = window.Djblets || {} |
david | |
Could this be _.bind(Backbone.View.prototype.remove, this) ? |
david | |
Elsewhere you replaced this entity with its unicode equivalent. Did you want to do that here? |
david | |
$parentEl is unused here. Can you run jshint on this code? |
david | |
Missing semicolon. |
david |
- Change Summary:
-
- Fixed support for icon names. The background property for the buttons was conflicting with the background for the spritesheet.
- Moved a call into a
forEach
for a unit test suite. - Moved some vars to the top of a function.
- Combined two unnecessary lines into one line.
- Commit:
-
a55a6b2bac3ec6d224a3306bb6131bd437589201e7023cf201365b309ba2474188557007d20775ed
- Diff:
-
Revision 3 (+1498)
- Change Summary:
-
- Made all the changes requested.
- Ran jshint, using the same
.jshintrc
we have on RB. (I'll commit that file separately.)
- Commit:
-
e7023cf201365b309ba2474188557007d20775ed2286c2d0cf4d13d810b694d787b81f69a24ae017
- Diff:
-
Revision 4 (+1568)