Maintenance - Mise à jour mensuelle Lundi 7 Décembre 2021 entre 7h00 et 9h00

Commit abd256b6 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix web interface

parent eb6a94a8
This diff is collapsed.
../../src/css/jflow.min.css
\ No newline at end of file
.ui-cytoscape-panzoom{position:absolute;font-size:12px;color:#fff;font-family:arial,helvetica,sans-serif;line-height:1;color:#666;font-size:11px;z-index:99999}.ui-cytoscape-panzoom-zoom-button{cursor:pointer;padding:3px;text-align:center;position:absolute;border-radius:3px;width:18px;height:18px;left:16px;background:#fff;border:1px solid #999;margin-left:-1px;margin-top:-1px;z-index:1}.ui-cytoscape-panzoom-zoom-button:active,.ui-cytoscape-panzoom-slider-handle:active,.ui-cytoscape-panzoom-slider-handle.active{background:#ddd}.ui-cytoscape-panzoom-pan-button{position:absolute;z-index:1;height:16px;width:16px}.ui-cytoscape-panzoom-reset{top:55px;padding-top:2px}.ui-cytoscape-panzoom-zoom-in{top:80px}.ui-cytoscape-panzoom-zoom-out{top:197px}.ui-cytoscape-panzoom-pan-up{top:0;left:50%;margin-left:-5px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #666}.ui-cytoscape-panzoom-pan-down{bottom:0;left:50%;margin-left:-5px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #666}.ui-cytoscape-panzoom-pan-left{top:50%;left:0;margin-top:-5px;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #666}.ui-cytoscape-panzoom-pan-right{top:50%;right:0;margin-top:-5px;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #666}.ui-cytoscape-panzoom-pan-indicator{position:absolute;left:0;top:0;width:8px;height:8px;border-radius:8px;background:#000;border-radius:8px;margin-left:-5px;margin-top:-5px;display:none;z-index:999;opacity:.6}.ui-cytoscape-panzoom-slider{position:absolute;top:97px;left:17px;height:100px;width:15px}.ui-cytoscape-panzoom-slider-background{position:absolute;top:0;width:4px;height:100px;left:5px;background:#fff;border-left:1px solid #999;border-right:1px solid #999}.ui-cytoscape-panzoom-slider-handle{position:absolute;width:18px;height:9px;background:#fff;border:1px solid #999;border-radius:2px;margin-left:-2px;z-index:999;line-height:8px;cursor:default}.ui-cytoscape-panzoom-slider-handle .icon{margin:-1px 4px 1px 4px;line-height:10px}.ui-cytoscape-panzoom-no-zoom-tick{position:absolute;background:#666;border:1px solid #fff;border-radius:2px;margin-left:-1px;width:10px;height:3px;left:3px;z-index:1;margin-top:3px}.ui-cytoscape-panzoom-panner{position:absolute;left:5px;top:5px;height:40px;width:40px;background:#fff;border:1px solid #999;border-radius:40px;margin-left:-1px}.ui-cytoscape-panzoom-panner-handle{position:absolute;left:0;top:0;outline:0;height:40px;width:40px;position:absolute;z-index:999}.fa{font-family:courier;display:inline-block;font-style:normal;font-weight:bold;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:15px;margin-top:-2px}.fa-expand:before{content:"o"}.fa-plus:before{content:"+"}.fa-minus:before{content:"-"}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
...@@ -200,12 +200,13 @@ ...@@ -200,12 +200,13 @@
var param_parts = param.split(">"); var param_parts = param.split(">");
var obj_param = $("#" + param_parts[0] + "___" + param_parts[1].replace("_", "-")); var obj_param = $("#" + param_parts[0] + "___" + param_parts[1].replace("_", "-"));
if (obj_param.length == 0) { if (obj_param.length == 0) {
$this.$element.on("change_" + param.replace("_", "-").replace(">", "___"), function (e, value) { $this.$element.off("change_" + param.replace("_", "-").replace(">", "___"))
.on("change_" + param.replace("_", "-").replace(">", "___"), function (e, value) {
calling_function(); calling_function();
}); });
} }
else { else {
obj_param.on("change", function() { obj_param.off("change").on("change", function() {
calling_function(); calling_function();
}); });
} }
......
...@@ -655,7 +655,6 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell; ...@@ -655,7 +655,6 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell;
'<div class="blockG" id="rotateG_07"></div>', '<div class="blockG" id="rotateG_07"></div>',
'<div class="blockG" id="rotateG_08"></div>', '<div class="blockG" id="rotateG_08"></div>',
'</div></div> <div class="col-md-8">Please wait until module is being loaded!</div></div></div>'].join('\n'); '</div></div> <div class="col-md-8">Please wait until module is being loaded!</div></div></div>'].join('\n');
$this.$element.off();
$this.$element.html(waiting_animation); $this.$element.html(waiting_animation);
$.ajax({ $.ajax({
url: this.options.serverURL + '/get_available_workflows?callback=?', url: this.options.serverURL + '/get_available_workflows?callback=?',
...@@ -931,6 +930,8 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell; ...@@ -931,6 +930,8 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell;
$(this).prop('readonly', false); $(this).prop('readonly', false);
}); });
var params = null;
// for multiple and append values, use the handsontable // for multiple and append values, use the handsontable
$("[id^=handsontable_]").each(function(){ $("[id^=handsontable_]").each(function(){
var id_parts = $(this).attr("id").split("handsontable_"), var id_parts = $(this).attr("id").split("handsontable_"),
...@@ -1098,6 +1099,9 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell; ...@@ -1098,6 +1099,9 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell;
$(this.getCell(this.countRows()-1, i)).removeClass("htInvalid") $(this.getCell(this.countRows()-1, i)).removeClass("htInvalid")
} }
} }
if (params == null) {
params = JflowWfformRules.check_parameters_rules($this.workflow.parameters, $this);
}
}, },
cells: function (row, col, prop) { cells: function (row, col, prop) {
var default_renderer = this.renderer ; var default_renderer = this.renderer ;
...@@ -1190,7 +1194,9 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell; ...@@ -1190,7 +1194,9 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell;
$("#wfform_reset_btn").click(function() { $this.reset(); }) $("#wfform_reset_btn").click(function() { $this.reset(); })
} }
var params = JflowWfformRules.check_parameters_rules($this.workflow.parameters, $this); if($("[id^=handsontable_]").length == 0) {
params = JflowWfformRules.check_parameters_rules($this.workflow.parameters, $this);
}
} }
}); });
} }
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment