jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Dialog Window Dialog Window #81778

    mspenard
    Participant

    Hey Esnaolo,

    I had the exact same issue with the repeat container where if a user were to first double-click in the week view (my default view), the repeat container would be hidden as I wanted because I was hiding it in editDialogueCreate:

    editDialogCreate: function (dialog, fields, editAppointment) {
        fields.repeatContainer.hide();
        // rest of my logic where I hide extra containers and customize labels
    }

    However, after showing the dialogue and clicking on the X (or Cancel) and then navigating to the daily or monthly view, I would have the Repeat container appearing in the dialogue following a double click in either of those views even if I was hiding it (and all other fields I was hiding in editDialogCreate were properly hidden). My fix, which isn’t the nicest but works for me, is to do the following:

    editDialogOpen: function (dialog, fields, editAppointment) {
        fields.repeatContainer.hide();
        // rest of my logic
    }

    Hope this helps and that it is not too late!
    Matt

Viewing 1 post (of 1 total)