mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 19:50:37 +00:00
for now remove date-picker since it doesn't seem to fire update event
This commit is contained in:
parent
5c111bdd2a
commit
034785d62d
2 changed files with 8 additions and 2 deletions
|
|
@ -26,7 +26,11 @@ reconstructPage = (model) ->
|
||||||
setupTooltips(model)
|
setupTooltips(model)
|
||||||
setupTour(model)
|
setupTour(model)
|
||||||
setupGrowlNotifications(model) unless model.get('_view.mobileDevice')
|
setupGrowlNotifications(model) unless model.get('_view.mobileDevice')
|
||||||
$('.datepicker').datepicker();
|
#Date picker doensn't seem to fire change event to update value
|
||||||
|
# $('.datepicker').datepicker()
|
||||||
|
# .on 'changeDate', (ev) ->
|
||||||
|
# # very strange, doesn't seem to automatically change the input value, meaning our changes aren't saved
|
||||||
|
# $(ev.target).val(ev.target.value)
|
||||||
|
|
||||||
###
|
###
|
||||||
Loads JavaScript files from (1) public/js/* and (2) external sources
|
Loads JavaScript files from (1) public/js/* and (2) external sources
|
||||||
|
|
|
||||||
|
|
@ -622,7 +622,9 @@ do a find for the string after "→"
|
||||||
{#if _user.flags.enableDueDates}
|
{#if _user.flags.enableDueDates}
|
||||||
<div class=control-group>
|
<div class=control-group>
|
||||||
<label>Due Date</label>
|
<label>Due Date</label>
|
||||||
<input type="text" value="{:task.date}" data-date-format="mm/dd/yy" class="datepicker" >
|
<input type="text" value="{:task.date}" data-date-format="mm/dd/yy" class="datepicker" />
|
||||||
|
<div><small>Enter as date, eg 02/19/2013 or 02-19-2013</small></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{/}
|
{/}
|
||||||
{/}
|
{/}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue