fixed selection box

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8959 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-08-30 12:18:43 +00:00
parent 2e2b5ff74e
commit 0406e395cd
2 changed files with 9 additions and 4 deletions

View file

@ -1,5 +1,11 @@
<h1 class="h1">{$lang->installed_layout}</h1>
<div cond="$layout == 'faceoff'" class="message error">
<p>
FaceOff 레이아웃은 지원이 중단될 예정입니다. 반드시 아래 안내에 따라 FaceOff 레이아웃을 일반 레이아웃으로 변경하여 주시기 바랍니다.
</p>
</div>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>

View file

@ -98,7 +98,6 @@ var FaceOff = {
var filter = '#xe .widgetOutput, #xe .extension, #body, #header, #footer, #toolbar, #propertyDialog, #faceoffSelector, .overlay';
var target = $(event.target);
var selection = target.parents(filter).add(target);
if (selection.is('#toolbar, #propertyDialog, #faceoffSelector, .overlay')) return;
if (selection.is(filter)) {
@ -461,8 +460,8 @@ var FaceOff = {
left : pos_cur.left - pos_sel.left,
top : pos_cur.top - pos_sel.top
})
.width(cur.attr('offsetWidth'))
.height(cur.attr('offsetHeight'));
.width(cur.outerWidth())
.height(cur.outerHeight());
if (cur.is('#body, #header, #footer')) {
$('#for-block').show();
@ -739,7 +738,7 @@ var PropertyDialog = {
});
// font
// font
this.target.css({
'font-family' : $('#font-family').val(),
'color' : $('#color').val()