Skip to content

Commit

Permalink
Fix alarm modification not keeping user settings
Browse files Browse the repository at this point in the history
  • Loading branch information
OmeGak committed Feb 3, 2015
1 parent 0307269 commit cbc636f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indico/MaKaC/webinterface/tpls/SetAlarm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<input size="3" name="timeBefore" id="timeBefore" value="${timeBefore}">

<select name=timeTypeBefore >
<option value="hours" ${"selected" if dateType == 2 else ""}>${_("Hours")}
<option value="days" ${"selected" if dateType == 3 else ""}>${_("Days")}
<option value="hours" ${ "selected" if timeBeforeType == 'hours' else "" }>${_("Hours")}
<option value="days" ${ "selected" if timeBeforeType == 'days' else "" }>${_("Days")}
</select>
</td>
</tr>
Expand Down

0 comments on commit cbc636f

Please sign in to comment.