Commit ce76e2c3 by Gregory Martin

change variable name

parent 74a66664
......@@ -55,7 +55,7 @@ define(['backbone',
groupOptions: [{
groupTitle: gettext('All Time Zones'),
selectOptions: FieldViewsSpecHelpers.SELECT_OPTIONS,
blankTitle: 'Default (Local Time Zone)'
nullValueOptionLabel: 'Default (Local Time Zone)'
}],
persistChanges: true,
required: true
......
......@@ -119,7 +119,7 @@
groupOptions: [{
groupTitle: gettext('All Time Zones'),
selectOptions: fieldsData.time_zone.options,
blankTitle: gettext('Default (Local Time Zone)')
nullValueOptionLabel: gettext('Default (Local Time Zone)')
}],
persistChanges: true
})
......
......@@ -22,8 +22,8 @@
<select name="select" id="u-field-select-<%- id %>" aria-describedby="u-field-help-message-<%- id %>">
<% _.each(groupOptions, function(groupOption) { %>
<% if (showBlankOption) { %>
<% if (groupOption.blankTitle) { %>
<option value=""><%- groupOption.blankTitle %></option>
<% if (groupOption.nullValueOptionLabel) { %>
<option value=""><%- groupOption.nullValueOptionLabel %></option>
<% } else { %>
<option value=""></option>
<% } %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment