Closed (fixed)
Project:
Office Hours
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2013 at 16:26 UTC
Updated:
16 Oct 2014 at 13:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
johnvUpdated issue summary, better title.
Comment #1.0
johnvUpdated status
Comment #2
kpaxman commentedHere's my (possibly hacky) solution for this issue. I also reformatted spacing in the file.
Comment #3
johnvThanks for this.
I found 2 flaws:
- when revisiting the widget, an already filled in line, is hidden. Only if you press the 'add more hours' link, the line is shown. Data is not lost.
- when checking 'Validate hours' the entered values are not validated.
Comment #5
johnvI've committed kpaxman's patch, along with som others, which were not related to the javaScript:
- show 2nd, 3rd block if it has a value;
- align the label 'and' to the right, for better visibility.
For validating the contents, see #1965948: Handle the exceptional values in office_hours_feeds_set_target()
Comment #6
johnv