Modify ↓
Opened 5 years ago
Closed 5 years ago
#13617 closed enhancement (fixed)
Replace string comparisons with JavaScript booleans
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | DynamicFieldsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
In r14718, we switched to using add_script_data
, which will convert a Python boolean to a JavaScript boolean. We can simplify the code by replacing string comparisons like spec.overwrite.toLowerCase() == 'false'
.
Attachments (0)
Change History (5)
comment:1 Changed 5 years ago by
Status: | new → accepted |
---|
comment:2 Changed 5 years ago by
Type: | defect → enhancement |
---|
comment:3 Changed 5 years ago by
comment:5 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
After the 2.3.0 release, I'm thinking to make a Trac 1.0 branch (0.11 and 0.12 branches already exist) and bump the requirement for trunk to Trac 1.2. This issue would probably be addressed after that change.