engine/public/javascripts/admin/layouts.js

8 lines
185 B
JavaScript
Raw Normal View History

$(document).ready(function() {
$('a#image-picker-link').imagepicker({
insertFn: function(link) {
return "{{ theme_images." + link.attr('data-slug') + " }}";
}
});
});