<div class='hidden'>
<select dojoType='dijit.form.ComboBox' jsId='eventDefGranularity'>
- <option value='hourly'>[% l('Hourly') %]</option>
- <option value='daily'>[% l('Daily') %]</option>
- <option value='weekly'>[% l('Weekly') %]</option>
- <option value='monthly'>[% l('Monthly') %]</option>
- <option value='yearly'>[% l('Yearly') %]</option>
+ <!-- Option strings are intentionally
+ un-translated since they are codes, not labels. -->
+ <option>hourly</option>
+ <option>daily</option>
+ <option>weekly</option>
+ <option>monthly</option>
+ <option>yearly</option>
</select>
</div>
function loadEventDef() {
eventDefGranularity.attr('value', null);
+ eventDefGranularity.ignoreCase = false;
edGrid.overrideEditWidgets.granularity = eventDefGranularity;
edGrid.overrideEditWidgets.granularity.shove = {"create": ""};
edGrid.loadAll({order_by:{atevdef : 'name, owner, hook, reactor, delay'}});