From 105bf8601a9f64b43cf4b67bd718cd71ab3f5ef4 Mon Sep 17 00:00:00 2001 From: Nazarii Kotiuk Date: Tue, 16 Feb 2016 22:09:25 +0200 Subject: [PATCH] finaly fix ajax photo serving via https --- .../client/static_client/js/_modules/page.place.photo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/client/static_client/js/_modules/page.place.photo.js b/templates/client/static_client/js/_modules/page.place.photo.js index 459d0909..da4fea41 100644 --- a/templates/client/static_client/js/_modules/page.place.photo.js +++ b/templates/client/static_client/js/_modules/page.place.photo.js @@ -113,11 +113,11 @@ if (EXPO.placePhoto){ } if(handler){ dna.empty(self.opt.mcId); - dna.load(self.opt.mcId, (self.ajaxUrl + self.currentId),{ callback:handler()}); + dna.load(self.opt.mcId, (self.ajaxUrl + self.currentId + '/'),{ callback:handler()}); }else{ dna.empty(self.opt.mcId); - dna.load(self.opt.mcId, (self.ajaxUrl + self.currentId),{empty:true}); + dna.load(self.opt.mcId, (self.ajaxUrl + self.currentId + '/'),{empty:true}); } },