diff --git a/registration-system/view/signups/story/story.js b/registration-system/view/signups/story/story.js index f6e242a4d69ff4b673a1fc7f16af3562735cf948..b7b8fcb1e41f3dc61333ae67ca067fb244ae80c5 100644 --- a/registration-system/view/signups/story/story.js +++ b/registration-system/view/signups/story/story.js @@ -1,6 +1,7 @@ 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)