mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
위젯 설정 버튼 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5125 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
44d15fde5f
commit
c6397a1f83
1 changed files with 3 additions and 3 deletions
|
|
@ -712,9 +712,9 @@ function restoreWidgetButtons() {
|
|||
var boxWidgetButton = xGetElementById('widgetBoxButton');
|
||||
if(!widgetButton || !boxWidgetButton) return;
|
||||
widgetButton.style.visibility = 'hidden';
|
||||
document.body.appendChild(widgetButton);
|
||||
xGetElementById("zonePageContent").parentNode.appendChild(widgetButton);
|
||||
boxWidgetButton.style.visibility = 'hidden';
|
||||
document.body.appendChild(boxWidgetButton);
|
||||
xGetElementById("zonePageContent").parentNode.appendChild(boxWidgetButton);
|
||||
}
|
||||
|
||||
function showWidgetButton(name, obj) {
|
||||
|
|
@ -746,6 +746,7 @@ function widgetSetup(evt) {
|
|||
showWidgetButton('widgetBoxButton', obj);
|
||||
} else {
|
||||
restoreWidgetButtons();
|
||||
showWidgetButton('widgetButton', obj);
|
||||
|
||||
var p_obj = obj.parentNode;
|
||||
while(p_obj) {
|
||||
|
|
@ -755,7 +756,6 @@ function widgetSetup(evt) {
|
|||
}
|
||||
p_obj = p_obj.parentNode;
|
||||
}
|
||||
showWidgetButton('widgetButton', obj);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue