Kunal Parmar has proposed merging lp:~pkunal-parmar/ubuntu-calendar-app/TapToCreateEvent into lp:ubuntu-calendar-app.
Commit message: Resolves Bug #1378380 Add event on tap Requested reviews: Ubuntu Calendar Developers (ubuntu-calendar-dev) Related bugs: Bug #1378380 in Ubuntu Calendar App: "Should add event by tapping on screen in Day view" https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1378380 For more details, see: https://code.launchpad.net/~pkunal-parmar/ubuntu-calendar-app/TapToCreateEvent/+merge/254175 Resolves Bug #1378380 Add event on tap -- Your team Ubuntu Calendar Developers is requested to review the proposed merge of lp:~pkunal-parmar/ubuntu-calendar-app/TapToCreateEvent into lp:ubuntu-calendar-app.
=== modified file 'TimeLineBase.qml' --- TimeLineBase.qml 2015-01-22 21:17:51 +0000 +++ TimeLineBase.qml 2015-03-25 23:41:58 +0000 @@ -36,6 +36,14 @@ MouseArea { anchors.fill: parent objectName: "mouseArea" + + onClicked: { + var selectedDate = new Date(day); + var hour = parseInt(mouseY / hourHeight); + selectedDate.setHours(hour) + createOrganizerEvent(selectedDate); + } + onPressAndHold: { var selectedDate = new Date(day); var hour = parseInt(mouseY / hourHeight);
-- Mailing list: https://launchpad.net/~ubuntu-touch-coreapps-reviewers Post to : ubuntu-touch-coreapps-reviewers@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-touch-coreapps-reviewers More help : https://help.launchpad.net/ListHelp