Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:mvpdev/nmis into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mejymejy committed Dec 17, 2012
2 parents 60e525f + c677e7f commit 80e049c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uis_r_us/static/js/src/tabulations.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ var S3orFormhubPhotoUrl = function(item, size_code) {
"90": "-small",
"200": "-medium"
};
if(item.s3_photo_id) {
if(item.formhub_photo_id) {
photo_url = NMIS.S3Photos.url(item.s3_photo_id || 'none1:none2', size_code);
} else if (item.formhub_photo_id) {
} else if(item.s3_photo_id) {
photo_url = "https://formhub.s3.amazonaws.com/ossap/attachments/";
if(size_code in sizes) {
photo_url += item.formhub_photo_id.replace(".jpg", sizes[size_code] + ".jpg");
Expand Down

0 comments on commit 80e049c

Please sign in to comment.