~bzoltan/ubuntu-calendar-app/lp_1351024_workaround

« back to all changes in this revision

Viewing changes to NewEvent.qml

  • Committer: Zoltán Balogh
  • Date: 2014-08-08 12:01:45 UTC
  • Revision ID: zoltan@bakter.hu-20140808120145-j8kcfssgthwkoet0
Use the JS PickerPanel to work around the #1351024

Show diffs side-by-side

added added

removed removed

Lines of Context:
276
276
 
277
277
    function openDatePicker (element, caller, callerProperty, mode) {
278
278
        element.highlighted = true;
279
 
        var picker = PickerPanel.openDatePicker(caller, callerProperty, mode);
 
279
        var picker = PickerPanelWorkaround.openDatePicker(caller, callerProperty, mode);
280
280
        if (!picker) return;
281
281
        picker.closed.connect(function () {
282
282
            element.highlighted = false;