rhymix/modules/layout/tpl/js/layout_admin_set_html.js
ngleader 2d3f149b5a merge from 1.7.3.5(r13153:r13167)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@13168 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-09-29 23:32:39 +00:00

13 lines
398 B
JavaScript

function initHtmlCSSView()
{
var $ = jQuery;
$('.uploaded_image').css('cursor', 'pointer');
$('.uploaded_image_path').hide();
$('.uploaded_image').bind('click', function(e){
var path = $(this).find('.uploaded_image_path').html();
var html = '<div class="x_well selected_image_path">' + path + '</div>';
$('.selected_image_path').remove();
$('.uploaded_image_list').after(html);
});
}