Issue 2380: Admin UI Refactoring - Advanced - Layouts

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11636 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-10-09 02:37:16 +00:00
parent 683b48658e
commit 01a0d56e32
12 changed files with 306 additions and 448 deletions

View file

@ -2,8 +2,8 @@ jQuery(document).ready(function($){
$('.uploaded_image').css('cursor', 'pointer');
$('.uploaded_image_path').hide();
$('.uploaded_image').bind('click', function(e){
var path = $(this).siblings('.uploaded_image_path').html();
var html = '<div class="selected_image_path">' + path + '</div>';
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);
@ -21,4 +21,4 @@ function doPreviewLayoutCode()
$form.removeAttr('target');
$act.val(og_act);
}
}