mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11983 201d5d3c-b55e-5fd7-737f-ddc643e51545
32 lines
810 B
JavaScript
32 lines
810 B
JavaScript
/* 스킨 컬러셋 구해옴 */
|
|
function doGetSkinColorset(skin, type) {
|
|
var params = new Array();
|
|
params['skin'] = skin;
|
|
params['type'] = type;
|
|
|
|
var response_tags = new Array('error','message','tpl', 'type');
|
|
exec_xml('communication', 'getCommunicationAdminColorset', params, doDisplaySkinColorset, response_tags);
|
|
}
|
|
|
|
function doDisplaySkinColorset(ret_obj) {
|
|
var tpl = ret_obj["tpl"];
|
|
var type = ret_obj['type'];
|
|
var $controls = null;
|
|
var $control_group = null;
|
|
|
|
if(type == 'P'){
|
|
$controls = jQuery('#communication_colorset');
|
|
$control_group = jQuery('#__skin_colorset');
|
|
}else{
|
|
$controls = jQuery('#communication_mcolorset');
|
|
$control_group = jQuery('#__mskin_colorset');
|
|
}
|
|
|
|
$controls.html(tpl);
|
|
if(tpl){
|
|
$control_group.show();
|
|
}else{
|
|
$control_group.hide();
|
|
}
|
|
}
|
|
|