Documentation

landing.landing.markundeletedblock

Scope: landing Permissions to execute: for all

landing.landing.markundeletedblock(lid, block)

The method restores block from marked as deleted block list.

Paramters

method Description Available from version
lid Landing page ID
block Block ID

Example

BX24.callMethod(
   'landing.landing.markundeletedblock',
   {
      lid: 627,
      block: 11923
   },
   function(result)
   {
      if(result.error())
      {
         console.error(result.error());
      }
      else
      {
         console.info(result.data());
      }
   }
);


© «Bitrix24», 2001-2024
Up