mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
panel close bug on firefox fixed
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11877 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5884854387
commit
945c3f34fd
1 changed files with 14 additions and 9 deletions
|
|
@ -1148,7 +1148,7 @@ jQuery(function($){
|
||||||
|
|
||||||
// TARGET toggle
|
// TARGET toggle
|
||||||
$(document.body).on("click", ".x [data-admin-toggle]", function(ev){
|
$(document.body).on("click", ".x [data-admin-toggle]", function(ev){
|
||||||
$($(ev.srcElement).attr('data-admin-toggle')).toggle();
|
$($(this).attr('data-admin-toggle')).toggle();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1172,7 +1172,7 @@ jQuery(function($){
|
||||||
|
|
||||||
// TARGET hide
|
// TARGET hide
|
||||||
$(document.body).on("click", ".x [data-admin-hide]", function(ev){
|
$(document.body).on("click", ".x [data-admin-hide]", function(ev){
|
||||||
var $target = $($(ev.srcElement).attr('data-admin-hide'));
|
var $target = $($(this).attr('data-admin-hide'));
|
||||||
|
|
||||||
$target.hide();
|
$target.hide();
|
||||||
});
|
});
|
||||||
|
|
@ -2353,21 +2353,26 @@ jQuery(function($){
|
||||||
$('#skinSetup').on('show', function(ev){
|
$('#skinSetup').on('show', function(ev){
|
||||||
if(this !== ev.target) return;
|
if(this !== ev.target) return;
|
||||||
|
|
||||||
|
var sHtml;
|
||||||
var sSkinName = $._htMarkupActionParam.sSkinName;
|
var sSkinName = $._htMarkupActionParam.sSkinName;
|
||||||
console.log(sSkinName);
|
console.log(sSkinName);
|
||||||
return;
|
|
||||||
/*
|
/*
|
||||||
var params = new Array();
|
|
||||||
params['menu_item_srl'] = '41390';
|
params['menu_item_srl'] = '41390';
|
||||||
|
params['skin'] = 'xe_default';
|
||||||
exec_xml("menu","getMenuAdminModuleSkin", params, completeTmp);
|
exec_xml("menu","getMenuAdminModuleSkin", params, completeTmp);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$.exec_json("menu.getMenuAdminModuleSkin", {menu_item_srl: sLayoutSrl}, function(htData){
|
$.exec_json("menu.getMenuAdminModuleSkin", {
|
||||||
//console.log(htData);
|
menu_item_srl: htNodeInfo[$._xeAdminVar.sSelectedMenuSrl].sNodeSrl,
|
||||||
|
skin: sSkinName
|
||||||
|
}, function(htData){
|
||||||
|
console.log(htData);
|
||||||
|
//return;
|
||||||
//console.log(htData.html.match(/<script[^>]*>/));
|
//console.log(htData.html.match(/<script[^>]*>/));
|
||||||
//htData.html = htData.html.replace(/<script[^>]*><\/script>/, "");
|
//htData.html = htData.html.replace(/<script[^>]*><\/script>/, "");
|
||||||
$('#layoutSetup').find('._contents').html(htData.html);
|
sHtml = htData.skinContent;
|
||||||
|
$('#skinSetup').find('._contents').html(sHtml);
|
||||||
|
/*
|
||||||
var $configForm = $('#config_form');
|
var $configForm = $('#config_form');
|
||||||
$configForm.on('submit', function(ev){
|
$configForm.on('submit', function(ev){
|
||||||
var htData = {};
|
var htData = {};
|
||||||
|
|
@ -2395,7 +2400,7 @@ jQuery(function($){
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
|
*/
|
||||||
scrollToRight();
|
scrollToRight();
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue