Skip to content
Snippets Groups Projects
Commit 85b8535c authored by baigner's avatar baigner
Browse files

Bug fix in MDO systems interface: nominal value, upper and lower bound for variable assignment.

Former-commit-id: 51c03089fedab4820538ce2468fdc3b54fd5ece4
parent b040d310
No related branches found
No related tags found
No related merge requests found
......@@ -19180,9 +19180,9 @@
+"\Lower Bound: <input type='text' id='lowerBound' name='lowerBound' />\</form>",
callback: function(result){
if(result){
theVariableData.nominalValue = $('#nominalValue').submit()[0].value;
theVariableData.upperBound = $('#upperBound').submit()[0].value;
theVariableData.lowerBound = $('#lowerBound').submit()[0].value;
theVariableData.nominalValue = parseFloat($('#nominalValue').submit()[0].value.replace(/,/g, ''));
theVariableData.upperBound = parseFloat($('#upperBound').submit()[0].value.replace(/,/g, ''));
theVariableData.lowerBound = parseFloat($('#lowerBound').submit()[0].value.replace(/,/g, ''));
if (isNaN(parseInt(theVariableData.nominalValue))
|| isNaN(parseInt(theVariableData.lowerBound))
......@@ -19283,9 +19283,9 @@
+"</select>\</form>",
callback: function(result){
if(result){
theVariableData.nominalValue = $('#nominalValue').submit()[0].value;
theVariableData.nominalValue = parseFloat($('#nominalValue').submit()[0].value.replace(/,/g, ''));
theVariableData.operator = $('#operator').submit()[0].value;
if(theVariableData.operator != "<"
&& theVariableData.operator != "<="
&& theVariableData.operator != "=="
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