summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMarko Pušnik <marko.pusnik@guru.si>2015-12-11 18:43:09 +0100
committerMarko Pušnik <marko.pusnik@guru.si>2015-12-11 18:43:09 +0100
commit3fbcf26d59e6cd7e8c10cb4f3ae912810c6d8d1a (patch)
treee3a8ab8e6257890efd82a1e5301de79ab4ef1539 /js
parent8b223c8ad6e096105703776a59937da62d8cb3d5 (diff)
Fix URL for mobile apps to properly show pictures/resources within hint/plan; raising the pg version to 1.0;
Diffstat (limited to 'js')
-rw-r--r--js/codeq/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/core.js b/js/codeq/core.js
index 28767f7..cb6f54c 100644
--- a/js/codeq/core.js
+++ b/js/codeq/core.js
@@ -307,7 +307,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
traversedPath.push(fragment);
if (branch[resourceName]) candidate = traversedPath.join('/') + '/' + resourceName;
}
- if (candidate) return candidate;
+ if (candidate) return codeq.ajaxPrefix + candidate;
codeq.log.error('Resource ' + resourceName + ' was not found; path: "' + resourceBranches.join('/') + '"');
return null;
};