Code review comment for lp:~larochelle-brian/ubuntu-calendar-app/30MinIncrementsHackdays

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

8 + startTime.defaultHour = (startDate.getMinutes() < 30) ? startDate.getHours() : startDate.getHours() + 1
19 + startTime.defaultMinute = (startDate.getMinutes() < 30) ? 30 : 0
20 + var popupObj = PopupUtils.open(timePicker,root,{"hour": startTime.defaultHour,"minute":startTime.defaultMinute});

Can we move above code to separate function ?

« Back to merge proposal