~renatofilho/ubuntu-calendar-app/majster-new-event-page

« back to all changes in this revision

Viewing changes to NewEventBottomEdge.qml

  • Committer: Arthur Mello
  • Date: 2016-03-17 14:49:54 UTC
  • mto: This revision was merged to the branch mainline in revision 789.
  • Revision ID: arthur.mello@canonical.com-20160317144954-uia33rvzqkdcpn82
Remove unnecessary property

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    signal opened()
39
39
    signal eventCreated(var event)
40
40
 
41
 
    function updateNewEventInfo(date, allDay)
 
41
    function updateNewEventInfo(date, allDay, collectionId)
42
42
    {
43
 
        _realPage.updateEventInfo(date, allDay)
 
43
        _realPage.updateEventInfo(date, allDay, collectionId)
44
44
    }
45
45
 
46
46
    hint {
75
75
 
76
76
    onCommitStarted: {
77
77
        bottomEdge.opened()
78
 
        updateNewEventInfo(bottomEdge.date ? bottomEdge.date : new Date(), false)
 
78
        updateNewEventInfo(bottomEdge.date ? bottomEdge.date : new Date(), false, bottomEdge.collectionId)
79
79
    }
80
80
 
81
81
    Component.onCompleted:  {
96
96
            implicitWidth: bottomEdge.width
97
97
            implicitHeight: bottomEdge.height
98
98
            reminderValue: bottomEdge.reminderValue
99
 
            collectionId: bottomEdge.collectionId
100
99
            model: bottomEdge.eventModel
101
100
            date: bottomEdge.date
102
101
            enabled: bottomEdge.status === BottomEdge.Committed