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

Fixed vistoms bug with marking variables as constraints

Former-commit-id: 6fe66dd3ec260dea956c20881695ed572db60f6d
parent 49787121
No related branches found
No related tags found
No related merge requests found
......@@ -19267,7 +19267,14 @@
title: 'Marking variable as ' + theVariableData.variableType,
message:"<form id='infos' action=''>"
+"\Nominal Value: <input type='text' id='nominalValue' name='nominalValue' /><br/>"
+"\Mathematical operator (<, <=, = ,>=, >): <input type='text' id='operator' name='operator' />\</form>",
+"\Mathematical operator (<, <=, = ,>=, >): "
+"<select id='operator' name='operator'>"
+"<option value='<'><</option>"
+"<option value='<='><=</option>"
+"<option value='=='>==</option>"
+"<option value='>='>>=</option>"
+"<option value='>'>></option>"
+"</select>\</form>",
callback: function(result){
if(result){
theVariableData.nominalValue = $('#nominalValue').submit()[0].value;
......@@ -19275,7 +19282,7 @@
if(theVariableData.operator != "<"
&& theVariableData.operator != "<="
&& theVariableData.operator != "="
&& 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