|
@@ -15,6 +15,7 @@ export function renderCommand (command, function_obj) {
|
|
|
let ret = `<div class="ui repeatNtimes command_container">
|
|
|
<i class="ui icon small sync command_drag"></i>
|
|
|
<i class="ui icon times red button_remove_command"></i>
|
|
|
+ <button class="ui icon button minimize_block_button tiny"><i class="icon window minimize"></i></button>
|
|
|
<div class="ui context_menu"></div> <span class="span_command_spec"> ${LocalizedStrings.getUI('text_for')}
|
|
|
</span> <div class="ui attribution_expression">
|
|
|
<div class="ui variable_attribution"></div>
|
|
@@ -193,6 +194,11 @@ export function manageClearExpressionElements (command, ref_object, dom_object,
|
|
|
|
|
|
function addHandlers (command, function_obj, repeatNtimes_dom) {
|
|
|
|
|
|
+ repeatNtimes_dom.find('.minimize_block_button').on('click', function(evt){
|
|
|
+ repeatNtimes_dom.children('.ui.block_commands').toggle();
|
|
|
+ command.collapsed = !command.collapsed;
|
|
|
+ });
|
|
|
+
|
|
|
$(repeatNtimes_dom.find('.textual_expression')[0]).toggle();
|
|
|
|
|
|
repeatNtimes_dom.find('.button_alternate_expression').on('click', function() {
|