Skip to content

Commit

Permalink
Merge pull request #42 from cloudinary/v2.9.6
Browse files Browse the repository at this point in the history
CLOUDINARY-73
  • Loading branch information
Pini authored Jan 3, 2019
2 parents e8c5db3 + 66765c5 commit 479e26f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</tr>
</thead>
<tbody id="media_gallery_content_list">
<?php foreach($this->getImages() as $image): ?>
<?php foreach ($this->getImages() as $image): ?>
<tr>
<td class="cell-image" id="cloudinary_preview_container_<?php echo $image->getValueId(); ?>">
</td>
Expand Down Expand Up @@ -111,7 +111,7 @@
},

getAjaxImageUrl: function() {
return '/admin/cloudinaryajax/image/key/' + this.secret;
return '<?php echo Mage::helper('adminhtml')->getUrl('adminhtml/cloudinaryajax/image/key/'); ?>' + this.secret;
},

getImageId: function(id) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},

getSampleImageUrl: function() {
return '/admin/cloudinaryajax/sample/key/' + this.secret;
return '<?php echo Mage::helper('adminhtml')->getUrl('adminhtml/cloudinaryajax/sample/key/'); ?>' + this.secret;
},

getImageHtml: function(src) {
Expand Down

0 comments on commit 479e26f

Please sign in to comment.