Some FIX
This commit is contained in:
@@ -112,6 +112,11 @@ class AdminApPageBuilderProfilesController extends ModuleAdminControllerCore
|
||||
|
||||
public function initPageHeaderToolbar()
|
||||
{
|
||||
$this->context->controller->addJs(__PS_BASE_URI__.'js/jquery/jquery-3.5.1.min.js');
|
||||
// $this->context->controller->addJquery();
|
||||
$this->context->controller->addJqueryUI('ui.sortable'); // FILE FORM.js required this
|
||||
$this->context->controller->addJqueryUI('ui.draggable'); // FILE FORM.js required this
|
||||
|
||||
$this->context->controller->addJs(apPageHelper::getJsAdminDir().'admin/form.js');
|
||||
|
||||
$this->page_header_toolbar_btn['SaveAndStay'] = array(
|
||||
|
||||
@@ -19,6 +19,8 @@ function updateListIdFullSlider() {
|
||||
$("#total_slider").val(listId);
|
||||
}
|
||||
$(document).ready(function() {
|
||||
console.log("ready!");
|
||||
|
||||
$("#modal_form").draggable({
|
||||
handle: ".modal-header"
|
||||
});
|
||||
|
||||
@@ -19,6 +19,8 @@ function updateListIdFullSlider() {
|
||||
$("#total_slider").val(listId);
|
||||
}
|
||||
$(document).ready(function() {
|
||||
console.log("ready");
|
||||
|
||||
$("#modal_form").draggable({
|
||||
handle: ".modal-header"
|
||||
});
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* @description: ApPageBuilder is module help you can build content for your shop
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\hook\header -->
|
||||
|
||||
<script>
|
||||
/**
|
||||
* List functions will run when document.ready()
|
||||
|
||||
@@ -17,7 +17,7 @@ require_once(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
require_once(dirname(__FILE__).'/../../init.php');
|
||||
|
||||
include_once(dirname(__FILE__).'/leofeature.php');
|
||||
include_once(dirname(__FILE__).'/classes/LeofeatureProduct.php');
|
||||
include_once(dirname(__FILE__).'/../classes/LeofeatureProduct.php');
|
||||
|
||||
$module = new Leofeature();
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
{/block}
|
||||
</head>
|
||||
|
||||
<body id="{$page.page_name}" class="{$page.body_classes|classnames}{if isset($LEO_LAYOUT_MODE)} {$LEO_LAYOUT_MODE}{/if}{if isset($USE_FHEADER) && $USE_FHEADER} keep-header{/if}">
|
||||
<body id="{$page.page_name}" class="1 {$page.body_classes|classnames}{if isset($LEO_LAYOUT_MODE)} {$LEO_LAYOUT_MODE}{/if}{if isset($USE_FHEADER) && $USE_FHEADER} keep-header{/if}">
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MJDZPHD" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user