AntonLV 10 年之前
父節點
當前提交
fd52c81eb1
共有 1 個文件被更改,包括 2 次插入 和 1 次删除
  1. 2 1
      studio/template/scripts/BxBaseStudioBuilderPage.php

+ 2 - 1
studio/template/scripts/BxBaseStudioBuilderPage.php

@@ -518,6 +518,7 @@ class BxBaseStudioBuilderPage extends BxDolStudioBuilderPage
 
             $bResult = true;
             foreach($aBlocks as $aBlock) {
+            	$sModule = $aBlock['module'];
                 $sTitleKey = $this->getSystemName($aBlock['title'] . '_' . time());
                 $aTitleValues = $oLanguage->getLanguageString($aBlock['title']);
 
@@ -526,7 +527,7 @@ class BxBaseStudioBuilderPage extends BxDolStudioBuilderPage
                 $aBlock['cell_id'] = 1;
                 $aBlock['module'] = $this->getBlockModule($aBlock);
                 $aBlock['title'] = $sTitleKey;
-				$aBlock['copyable'] = 0;
+				$aBlock['copyable'] = $sModule == BX_DOL_STUDIO_BP_SKELETONS ? 1 : 0;
                 $aBlock['deletable'] = 1;
 
                 //--- Process Lang copy