public/javascripts/admin/snippets.js in locomotive_cms-0.0.4.beta12 vs public/javascripts/admin/snippets.js in locomotive_cms-0.0.4

- old
+ new

@@ -14,9 +14,9 @@ $('#snippet_slug').keypress(function() { $(this).addClass('filled'); }); $('a#image-picker-link').imagepicker({ insertFn: function(link) { - return "{{ '" + link.attr('data-local-path') + "' | theme_image_url }}"; + return "{{ theme_images." + link.attr('data-slug') + " }}"; } }); });