diff --git a/pandora_console/godmode/modules/manage_block_templates.php b/pandora_console/godmode/modules/manage_block_templates.php index c9f55c14c2..3a93d975b0 100644 --- a/pandora_console/godmode/modules/manage_block_templates.php +++ b/pandora_console/godmode/modules/manage_block_templates.php @@ -73,10 +73,13 @@ if (is_ajax()) { $manageBlock->run(); // Get the id_np. $id_np = $manageBlock->getIdNp(); + $saveData = $manageBlock->getSaveData(); - // Show the proper window. - if ($id_np === -1) { - // List all Module Block. + if ($saveData === true) { + // Save the data sent + $manageBlock->saveData(); + } else if ($id_np === -1) { + // List all Module Blocks. $manageBlock->moduleBlockList(); } else { // Create new o update Template. @@ -88,7 +91,7 @@ if (is_ajax()) {