|
@@ -278,7 +278,7 @@ function renderFunctionReturn (function_obj, function_element) {
|
|
|
|
|
|
export function renderFunction(function_obj) {
|
|
|
|
|
|
- var appender = '<div class="ui secondary segment function_div list-group-item">';
|
|
|
+ var appender = '<div class="ui secondary segment function_div list-group-item">';
|
|
|
|
|
|
if (function_obj.function_comment) {
|
|
|
//appender += renderComment(function_obj.function_comment, sequence, true, -1);
|
|
@@ -309,11 +309,11 @@ export function renderFunction(function_obj) {
|
|
|
appender += '</div> <span class="parethesis_function"> ) </span> </div>'
|
|
|
+ (function_obj.is_hidden ? ' <div class="function_area" style="display: none;"> ' : ' <div class="function_area"> ');
|
|
|
|
|
|
- appender += '<div class="ui add_var_context add_var_button_function" style="float: left;"><i class="icon plus circle purple"></i><i class="icon circle white back"></i><div class="ui icon button purple"><i class="icon superscript"></i></div></div>';
|
|
|
+ appender += '<div class="ui add_var_context add_var_button_function" style="float: left; display: none;"><i class="icon plus circle purple"></i><i class="icon circle white back"></i><div class="ui icon button purple"><i class="icon superscript"></i></div></div>';
|
|
|
|
|
|
- appender += '<div class="ui top attached segment variables_list_div"></div>';
|
|
|
+ appender += '<div class="ui top attached segment variables_list_div" style="display: none;"></div>';
|
|
|
|
|
|
- appender += '<div class="ui inline_add_command"><i class="icon plus circle purple"></i><i class="icon circle white back"></i><div class="ui icon button dropdown menu_commands orange" style="float: left;" ><i class="icon code"></i> <div class="menu"> ';
|
|
|
+ appender += '<div class="ui inline_add_command" style="display: none;"><i class="icon plus circle purple"></i><i class="icon circle white back"></i><div class="ui icon button dropdown menu_commands orange" style="float: left;" ><i class="icon code"></i> <div class="menu"> ';
|
|
|
appender += '<a class="item" data-command="' + Models.COMMAND_TYPES.reader + '"><i class="download icon"></i> ' + LocalizedStrings.getUI('text_read_var') + '</a>'
|
|
|
+ '<a class="item" data-command="' + Models.COMMAND_TYPES.writer + '"><i class="upload icon"></i> ' + LocalizedStrings.getUI('text_write_var') + '</a>'
|
|
|
+ '<a class="item" data-command="' + Models.COMMAND_TYPES.comment + '"><i class="quote left icon"></i> ' + LocalizedStrings.getUI('text_comment') + '</a>'
|