Commit ce106e0e authored by Janez K's avatar Janez K
Browse files

svg se zdaj pravilno resajza, se vedno bugi s scrollbari

parent 717fd076
......@@ -892,6 +892,9 @@ function updateWidgetListeners() {
}
$("svg").css('height',$("svg").parent()[0].scrollHeight+'px');
$("svg").css('width',$("svg").parent()[0].scrollWidth+'px');
//resizeSvg();
/*var y = parseInt($(this).css('top'));
......@@ -1437,6 +1440,9 @@ $(function(){
setTimeout("refreshProgressBars()",5000);
$("svg").css('height',$("svg").parent()[0].scrollHeight+'px');
$("svg").css('width',$("svg").parent()[0].scrollWidth+'px');
});
function refreshProgressBars() {
......
......@@ -173,7 +173,7 @@ activeCanvasId = {{ user.userprofile.active_workflow.id }}
<div rel="{{ user.userprofile.active_workflow.id }}" class="canvas{{ user.userprofile.active_workflow.id }} canvas" id="canvas{{ user.userprofile.active_workflow.id }}">
<div style="width:100%;height:100%;">
</div>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" style="position:absolute;top:0px;left:0px;min-width:100%;min-height:100%;">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" style="position:absolute;top:0px;left:0px;width:100%;height:100%;">
</svg>
</div>
......
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