Skip to content

Commit

Permalink
Merge pull request #2588 from Phpvarious/patch-17
Browse files Browse the repository at this point in the history
Update plan.js
  • Loading branch information
rocket13011 committed May 1, 2024
2 parents fce7acf + c1566ca commit e13cbc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion desktop/js/plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ if (!jeeFrontEnd.plan) {
}
},
success: function(data) {
jeedom.cmd.resetUpdateFunction()
jeeFrontEnd.plan.planContainer.empty().insertAdjacentHTML('beforeend', '<div id="div_grid" class="container-fluid" style="display:none;"></div>')
Object.assign(jeeFrontEnd.plan.planContainer.style, {height:"auto", width:"auto"})
//general design configuration:
Expand Down Expand Up @@ -364,7 +365,7 @@ if (!jeeFrontEnd.plan) {
if (_plan.link_type == 'eqLogic') {
if (isset(_plan.display.hideName) && _plan.display.hideName == 1) {
node.addClass('hideEqLogicName')
another_css += css_selector + ' .verticalAlign{top: 50% !important;\n}'
another_css += css_selector + ' .verticalAlign{height: 100% !important;\n}'
}
if (isset(_plan.display.showObjectName) && _plan.display.showObjectName == 1) {
node.addClass('displayObjectName')
Expand Down

0 comments on commit e13cbc0

Please sign in to comment.