engine/public/javascripts/admin/layouts.js

7 lines
184 B
JavaScript

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