cms/app-client/mirage/config.js
changeset 329 0a2c2ad49d75
parent 319 78990a8a069b
child 424 feb0d3e0fef9
--- a/cms/app-client/mirage/config.js	Thu Oct 13 13:01:12 2016 +0200
+++ b/cms/app-client/mirage/config.js	Fri Oct 14 01:02:10 2016 +0200
@@ -44,7 +44,7 @@
         var langIds = decodeURIComponent(request.params.ids);
         var resMap = _.reduce(langIds.split(','), function(res, id) {
             var fullId = id;
-            if(!_.startsWith(fullId, constants.LEXVO_BASE_URL)) {
+            if(!_.startsWith(fullId, constants.LEXVO_BASE_URL) && !_.startsWith(fullId, constants.LANGUAGES_NODE_PREFIX)) {
                 fullId = constants.LEXVO_BASE_URL + id;
             }
             var lexvoRes = lexvos.find(fullId);