mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
merge from 1.7.3.5(r13153:r13167)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@13168 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cc47d2b247
commit
2d3f149b5a
2042 changed files with 129266 additions and 126243 deletions
|
|
@ -1,14 +1,32 @@
|
|||
/* 스킨 컬러셋 구해옴 */
|
||||
function doGetSkinColorset(skin) {
|
||||
function doGetSkinColorset(skin, type) {
|
||||
var params = new Array();
|
||||
params['skin'] = skin;
|
||||
params['type'] = type;
|
||||
|
||||
var response_tags = new Array('error','message','tpl');
|
||||
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"];
|
||||
jQuery('#communication_colorset').html(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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue