diff --git a/desktop/modal/cmd.configure.php b/desktop/modal/cmd.configure.php index f3a3f3e298..f85ec6a2d4 100644 --- a/desktop/modal/cmd.configure.php +++ b/desktop/modal/cmd.configure.php @@ -365,7 +365,7 @@
- +
getSubType()]['isHistorized']['canBeSmooth']) { ?> -
- -
- +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
@@ -554,47 +554,47 @@
getIsHistorized() == 1 && $JEEDOM_INTERNAL_CONFIG['cmd']['type']['info']['subtype'][$cmd->getSubType()]['isHistorized']['canBeSmooth']) { ?> -
- -
- -
-
- -
-
- {{Variation}}  +
+ +
+ +
+
+ +
+
+ {{Variation}}  +
+
+ {{Escalier}} 
-
- {{Escalier}} 
-
@@ -845,9 +845,9 @@ - - - + + + @@ -863,7 +863,7 @@ $tr .= ''; $tr .= ''; $tr .= ''; $tr .= ''; } @@ -1162,7 +1162,7 @@ if (!isset(cmd.display)) cmd.display = {} if (!isset(cmd.display.parameters)) cmd.display.parameters = {} - if (document.querySelector('#cmd_display #table_widgetParametersCmd')) { + if (document.querySelector('#cmd_display #table_widgetParametersCmd')) { document.querySelector('#cmd_display #table_widgetParametersCmd')?.tBodies[0].childNodes.forEach(_tr => { if (_tr.nodeType != 3) { cmd.display.parameters[_tr.querySelector('.key').jeeValue()] = _tr.querySelector('.value').jeeValue() @@ -1213,7 +1213,7 @@ (function() { // Self Isolation! var jeeM = jeeFrontEnd.md_displayCmdConfigure - + //Manage events outside parents delegations: document.getElementById('bt_cmdConfigureTest')?.addEventListener('click', function(event) { jeedom.cmd.test({ @@ -1495,7 +1495,11 @@ var _target = null if (_target = event.target.closest('#bt_searchInfoCmdCalculValue')) { - jeedom.cmd.getSelectModal({cmd: {type: 'info'}}, function(result) { + jeedom.cmd.getSelectModal({ + cmd: { + type: 'info' + } + }, function(result) { document.querySelectorAll('.cmdAttr[data-l1key=configuration][data-l2key=calculValueOffset]')[0].insertAtCursor(result.human) }) } @@ -1580,7 +1584,7 @@ tr += '' tr += '' tr += '' tr += '' document.getElementById('table_widgetParametersCmd').tBodies[0].insertAdjacentHTML('beforeend', tr)
NomValeurAction{{Nom}}{{Valeur}}{{Action}}
'; - $tr .= ' Supprimer'; + $tr .= ' {{Supprimer}}'; $tr .= '
' - tr += ' Supprimer' + tr += ' {{Supprimer}}' tr += '