'No-Title' for title event

2 posts, 0 answers
  1. Julien
    Julien avatar
    10 posts
    Member since:
    Apr 2017

    Posted 25 Apr 2017 Link to this post

    hello,

    I set the event title in jquery dynamically depending on selected value in 3 comboboxes and when I try to save the event in database, the title's value is 'No title'.

    It's working when I write something manuelly.

    Do you know why I have this issue ?

    Thank you,

  2. Julien
    Julien avatar
    10 posts
    Member since:
    Apr 2017

    Posted 26 Apr 2017 in reply to Julien Link to this post

    Found by myself.

    Using OnSave event and "e.event.set()"

    function scheduler_save(e) {
        var _fournisseur = $('#FournisseurCBB').val();
        if (!checkFournisseur(_fournisseur, e.event)) {
            e.preventDefault();
        }
        var _title = $('#txtTitre').val();
        e.event.set("title", _title);
    }

     

Back to Top