Add "select" control to inlineEditor (WIP, RFC)
Review Request #6197 — Created Aug. 5, 2014 and discarded
Somewhat messy, but tested, addition of drop-down and combo boxes. If
selectOptions
is set,multiline
determines whether themultiple
property is set. Hijacked some of the options, which seems messy; please advise on preferred methods. (I am not a JavaScript programmer.)
In a Review Board extension, created fields with
options
CSS class. For multiline, addedmultiple
class. They work as expected.
- Change Summary:
-
Take advantage of markdown
- Description:
-
~ Somewhat messy, but tested, addition of drop-down and combo boxes. If selectOptions is set, multiline determines whether the "multiple" property is set. Hijacked some of the options, which seems messy; please advise on preferred methods. (I am not a JavaScript programmer.)
~ Somewhat messy, but tested, addition of drop-down and combo boxes. If
selectOptions
is set,multiline
determines whether themultiple
property is set. Hijacked some of the options, which seems messy; please advise on preferred methods. (I am not a JavaScript programmer.) - Testing Done:
-
~ In a Review Board extension, created fields with "options" CSS class. For multiline, added "multiple" class. They work as expected.
~ In a Review Board extension, created fields with
options
CSS class. For multiline, addedmultiple
class. They work as expected.
- Change Summary:
-
Fix appearance of multioption box
- Commit:
-
8a90a6909f2e4ae71ff225da49895eb09bbe346d3eacb42d7635a95efc3707241e59a7cb2f6c4bd6
-
Tool: PEP8 Style Checker Ignored Files: djblets/static/djblets/js/jquery.gravy.inlineEditor.js Tool: Pyflakes Ignored Files: djblets/static/djblets/js/jquery.gravy.inlineEditor.js