Skip to content
Snippets Groups Projects
Commit f9535ca4 authored by Tim Repke's avatar Tim Repke
Browse files

small fix in story mode, works now as well

parent 63766bac
No related branches found
No related tags found
No related merge requests found
var debug = false;
var story; // global access for links
var FAPI = new FAPI();
function Story(_storyhead, _storycanvas, _storybox)
{
......@@ -636,7 +637,7 @@ Story.prototype.storyImage = function(filename)
}
Story.prototype.storyImageDiv = function(filename)
{
return $('<div style="position:absolute; width:900px; height:500px; background: url('+API.methodBasepath+'graphics/'+filename+');"></div>');
return $('<div style="position:absolute; width:900px; height:500px; background: url('+FAPI.resolvePath('graphics/'+filename)+');"></div>');
}
Story.prototype.addComboBox = function(parentNode, label, fieldName, options, x, y)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment