From f9535ca48978a9b7af582e51d09a71e60247a1e3 Mon Sep 17 00:00:00 2001 From: Tim Repke <timmothey@gmx.de> Date: Tue, 18 Aug 2015 00:19:09 +0200 Subject: [PATCH] small fix in story mode, works now as well --- registration-system/view/signups/story/story.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/registration-system/view/signups/story/story.js b/registration-system/view/signups/story/story.js index f6e242a..b7b8fcb 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) -- GitLab