Updating a block table when using composer

Permalink
Hello lovely C5 peeps!

I have a block inside a composer form which choses a file set to display. The problem I am having is that the block is completing the Save function as soon as it loads into the Page composer rather than when I press the Publish or Edit page button. The Save code is
$db = Loader::db();
            $db->execute('INSERT INTO btDclGallery (bID, fsID, fileOrder) values(?,?,?)',
                array(
                    $this->bID,
                    intval($args['fsID']),
                    $args['fileOrder']
                )
            );
        parent::save($args);

dclmedia
 
dclmedia replied on at Permalink Reply
dclmedia
Anyone, please?
ramonleenders replied on at Permalink Reply
ramonleenders
What do you want to achieve, is it do not auto-save? Composer is auto-saving indeed (don't ask me why). Not sure if you can disable it though..
dclmedia replied on at Permalink Reply
dclmedia
It is saving the information and creating the block before I can chose the Fileset to display, therefore when the page displays it isnt showing anything as the fsID is empty