Skip to content
Snippets Groups Projects
Commit 22a5fa0c authored by srosse's avatar srosse
Browse files

OO-619: fix validation of the height element in layout options

parent f425a731
No related branches found
No related tags found
No related merge requests found
...@@ -325,7 +325,8 @@ public class DeliveryOptionsConfigurationController extends FormBasicController ...@@ -325,7 +325,8 @@ public class DeliveryOptionsConfigurationController extends FormBasicController
} }
heightEl.clearError(); heightEl.clearError();
if(standardModeEl.isSelected(0) || jsOptionEl.isSelected(0)) { if(heightEl.isSelected(0)
&& (standardModeEl.isSelected(0) || jsOptionEl.isSelected(0))) {
heightEl.setErrorKey("automatic.need.js", null); heightEl.setErrorKey("automatic.need.js", null);
allOk = false; allOk = false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment