Igor 5 лет назад
Родитель
Сommit
d2b28368f7
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      js/visualUI/commands/generic_expression.js

+ 2 - 0
js/visualUI/commands/generic_expression.js

@@ -108,6 +108,7 @@ export function renderExpression (command, function_obj, div_to_render, expressi
 	        put: false // Do not allow items to be put into this list
 	    },
 	    draggable: '.single_element_expression',
+	    handle: '.element_expression_handle',
 	    sort: false,
 	    filter: '.not_allowed',
 	    
@@ -247,6 +248,7 @@ function renderElements (command, function_obj, div_to_render, expression_array,
 	for (i = 0; i < expression_array.length; i++) {
 		if (expression_array[i].type == "var_value") {
 			var div_temp = $('<div class="single_element_expression" data-index="'+i+'"></div>');
+			div_temp.append('<div class="element_expression_handle" style="display: inline; width: 2px solid red; width: 20px; height: 15px;"></div>');
 			if (i == 0) {
 				if (expression_array.length > 0  && !expression_array[0].type_op) {