From 774bef6d5937d443e0561d899d8965c2755d553c Mon Sep 17 00:00:00 2001 From: fensoft Date: Tue, 3 Dec 2019 17:11:30 +0100 Subject: [PATCH] added resizable for command editor --- assets/js/core/plugin.template.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/core/plugin.template.js b/assets/js/core/plugin.template.js index 864210804..f0a33cd2c 100644 --- a/assets/js/core/plugin.template.js +++ b/assets/js/core/plugin.template.js @@ -352,12 +352,12 @@ $('#div_pageContainer').on('dblclick', '.cmd input,select,span,a', function (eve $('#div_pageContainer').on('dblclick', '.cmd', function () { $('#md_modal').dialog({title: "{{Configuration commande}}"}); - $('#md_modal').load('index.php?v=d&modal=cmd.configure&cmd_id=' + $(this).closest('.cmd').attr('data-cmd_id')).dialog('open'); + $('#md_modal').load('index.php?v=d&modal=cmd.configure&cmd_id=' + $(this).closest('.cmd').attr('data-cmd_id')).dialog('option', 'resizable', true).dialog('open'); }); $('#div_pageContainer').on('click', '.cmd .cmdAction[data-action=configure]', function () { $('#md_modal').dialog({title: "{{Configuration commande}}"}); - $('#md_modal').load('index.php?v=d&modal=cmd.configure&cmd_id=' + $(this).closest('.cmd').attr('data-cmd_id')).dialog('open'); + $('#md_modal').load('index.php?v=d&modal=cmd.configure&cmd_id=' + $(this).closest('.cmd').attr('data-cmd_id')).dialog('option', 'resizable', true).dialog('open'); }); $('.eqLogicThumbnailContainer').packery();