mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 16:49:58 +09:00
remove console.log
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11684 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
32c10737f3
commit
41d3059d66
1 changed files with 61 additions and 38 deletions
|
|
@ -798,18 +798,18 @@ function onSiteMapReceived(htData){
|
||||||
$._xeAdminVar.sSelectOnload = null;
|
$._xeAdminVar.sSelectOnload = null;
|
||||||
|
|
||||||
if(sRenameId){
|
if(sRenameId){
|
||||||
console.log('renaming', sRenameId);
|
//console.log('renaming', sRenameId);
|
||||||
$("#siteMapTree").jstree("rename", $("#menu"+sRenameId));
|
$("#siteMapTree").jstree("rename", $("#menu"+sRenameId));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sSelectOnload){
|
if(sSelectOnload){
|
||||||
console.log('selecting', sSelectOnload);
|
//console.log('selecting', sSelectOnload);
|
||||||
$("#siteMapTree").jstree("select_node", $("#menu"+sSelectOnload));
|
$("#siteMapTree").jstree("select_node", $("#menu"+sSelectOnload));
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
.bind("rename_node.jstree", function(event, data){
|
.bind("rename_node.jstree", function(event, data){
|
||||||
console.log(1, event, data);
|
//console.log(1, event, data);
|
||||||
/*
|
/*
|
||||||
var params = new Array();
|
var params = new Array();
|
||||||
params['menu_srl'] = '889';
|
params['menu_srl'] = '889';
|
||||||
|
|
@ -826,7 +826,7 @@ function onSiteMapReceived(htData){
|
||||||
params['title'] = sTitle;
|
params['title'] = sTitle;
|
||||||
params['menu_srl'] = $._xeAdminVar.sSelectedMenuSrl;
|
params['menu_srl'] = $._xeAdminVar.sSelectedMenuSrl;
|
||||||
$.exec_json("menu.procMenuAdminUpdate", params, function(htData){
|
$.exec_json("menu.procMenuAdminUpdate", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
return;
|
return;
|
||||||
|
|
@ -842,7 +842,7 @@ function onSiteMapReceived(htData){
|
||||||
var params = {};
|
var params = {};
|
||||||
params['title'] = sTitle;
|
params['title'] = sTitle;
|
||||||
$.exec_json("menu.procMenuAdminInsert", params, function(htData){
|
$.exec_json("menu.procMenuAdminInsert", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
return;
|
return;
|
||||||
|
|
@ -870,7 +870,7 @@ function onSiteMapReceived(htData){
|
||||||
showProp(sSelectedMenuSrl);
|
showProp(sSelectedMenuSrl);
|
||||||
})
|
})
|
||||||
.bind("move_node.jstree", function(event, data){
|
.bind("move_node.jstree", function(event, data){
|
||||||
console.log(event, data);
|
//console.log(event, data);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
@ -895,12 +895,12 @@ function onSiteMapReceived(htData){
|
||||||
var sTargetPos = aMoveInfo.p;
|
var sTargetPos = aMoveInfo.p;
|
||||||
var aNewParent = aMoveInfo.np;
|
var aNewParent = aMoveInfo.np;
|
||||||
|
|
||||||
console.log(aSource, aTargetPosRef, sTargetPos, aNewParent);
|
//console.log(aSource, aTargetPosRef, sTargetPos, aNewParent);
|
||||||
console.log(aSource[0], aTargetPosRef[0], sTargetPos, aNewParent[0]);
|
//console.log(aSource[0], aTargetPosRef[0], sTargetPos, aNewParent[0]);
|
||||||
|
|
||||||
var aNode, htParentInfo, htTargetInfo, htData, sMenuSrl, sTargetSrl, sParentSrl, nIdx;
|
var aNode, htParentInfo, htTargetInfo, htData, sMenuSrl, sTargetSrl, sParentSrl, nIdx;
|
||||||
//htData = $.parseJSON($(htSource).attr('data-param');
|
//htData = $.parseJSON($(htSource).attr('data-param');
|
||||||
console.log(sTargetPos);
|
//console.log(sTargetPos);
|
||||||
sMenuSrl = aSource[0].id.replace("menu", "");
|
sMenuSrl = aSource[0].id.replace("menu", "");
|
||||||
sParentSrl = aNewParent[0].id.replace("menu", "");
|
sParentSrl = aNewParent[0].id.replace("menu", "");
|
||||||
sTargetSrl = aTargetPosRef[0].id.replace("menu", "");
|
sTargetSrl = aTargetPosRef[0].id.replace("menu", "");
|
||||||
|
|
@ -914,18 +914,18 @@ function onSiteMapReceived(htData){
|
||||||
htTargetInfo = htNodeInfo[sTargetSrl];
|
htTargetInfo = htNodeInfo[sTargetSrl];
|
||||||
htParentInfo = htNodeInfo[htTargetInfo.sParentSrl];
|
htParentInfo = htNodeInfo[htTargetInfo.sParentSrl];
|
||||||
|
|
||||||
console.log(htParentInfo);
|
//console.log(htParentInfo);
|
||||||
|
|
||||||
aNode = htParentInfo.aNode;
|
aNode = htParentInfo.aNode;
|
||||||
|
|
||||||
for(var i=0, nLen=aNode.length; i<nLen; i++){
|
for(var i=0, nLen=aNode.length; i<nLen; i++){
|
||||||
console.log(aNode[i].sText, aNode[i].sNodeSrl, "->", sTargetSrl);
|
//console.log(aNode[i].sText, aNode[i].sNodeSrl, "->", sTargetSrl);
|
||||||
if(aNode[i].sNodeSrl == sTargetSrl){
|
if(aNode[i].sNodeSrl == sTargetSrl){
|
||||||
console.log('found');
|
//console.log('found');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(999, i);
|
//console.log(999, i);
|
||||||
|
|
||||||
if(i === 0){
|
if(i === 0){
|
||||||
sTargetSrl = 0;
|
sTargetSrl = 0;
|
||||||
|
|
@ -940,7 +940,7 @@ function onSiteMapReceived(htData){
|
||||||
|
|
||||||
case "last":
|
case "last":
|
||||||
htParentInfo = htNodeInfo[sParentSrl];
|
htParentInfo = htNodeInfo[sParentSrl];
|
||||||
console.log(222, htParentInfo, sParentSrl);
|
//console.log(222, htParentInfo, sParentSrl);
|
||||||
|
|
||||||
aNode = htParentInfo.aNode;
|
aNode = htParentInfo.aNode;
|
||||||
if(aNode.length == 0){
|
if(aNode.length == 0){
|
||||||
|
|
@ -961,7 +961,7 @@ function onSiteMapReceived(htData){
|
||||||
//sTargetSrl = ;
|
//sTargetSrl = ;
|
||||||
//sParentSrl = ;
|
//sParentSrl = ;
|
||||||
|
|
||||||
console.log(sMenuSrl, sTargetSrl, sParentSrl);
|
//console.log(sMenuSrl, sTargetSrl, sParentSrl);
|
||||||
|
|
||||||
var params = {};
|
var params = {};
|
||||||
|
|
||||||
|
|
@ -980,7 +980,7 @@ function onSiteMapReceived(htData){
|
||||||
//exec_xml("menu","procMenuAdminMoveItem", params, completeTmp);
|
//exec_xml("menu","procMenuAdminMoveItem", params, completeTmp);
|
||||||
|
|
||||||
$.exec_json("menu.procMenuAdminMoveItem", params, function(htData){
|
$.exec_json("menu.procMenuAdminMoveItem", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
return;
|
return;
|
||||||
|
|
@ -1149,7 +1149,7 @@ function setItemTypes(htTypes){
|
||||||
title: '바로가기',
|
title: '바로가기',
|
||||||
moduleName:''
|
moduleName:''
|
||||||
}
|
}
|
||||||
console.log($._xeAdminVar.htItemTypes);
|
//console.log($._xeAdminVar.htItemTypes);
|
||||||
}
|
}
|
||||||
jQuery(function($){
|
jQuery(function($){
|
||||||
$.fn.outerHTML = function(){
|
$.fn.outerHTML = function(){
|
||||||
|
|
@ -1218,7 +1218,7 @@ jQuery(function($){
|
||||||
|
|
||||||
$.exec_json("menu.getMenuAdminInstalledMenuType", {}, function(htData){
|
$.exec_json("menu.getMenuAdminInstalledMenuType", {}, function(htData){
|
||||||
setItemTypes(htData.menu_types);
|
setItemTypes(htData.menu_types);
|
||||||
console.log($._xeAdminVar.htItemTypes);
|
//console.log($._xeAdminVar.htItemTypes);
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#tmpl_pagination").template( "pagination" );
|
$("#tmpl_pagination").template( "pagination" );
|
||||||
|
|
@ -1277,7 +1277,7 @@ jQuery(function($){
|
||||||
|
|
||||||
$(document.body).on('click', '.x_pagination ._jumpTo', function(ev){
|
$(document.body).on('click', '.x_pagination ._jumpTo', function(ev){
|
||||||
htParam = $.parseJSON($(this).attr('data-param'));
|
htParam = $.parseJSON($(this).attr('data-param'));
|
||||||
console.log($(this).parent().find('input[name=page]'));
|
//console.log($(this).parent().find('input[name=page]'));
|
||||||
var nPage = parseInt($(this).parent().find('input[name=page]').val());
|
var nPage = parseInt($(this).parent().find('input[name=page]').val());
|
||||||
|
|
||||||
$.data($(this).parents('.x_pagination')[0], "fnCallback")({
|
$.data($(this).parents('.x_pagination')[0], "fnCallback")({
|
||||||
|
|
@ -1376,7 +1376,7 @@ jQuery(function($){
|
||||||
$("#siteMapTree").jstree("deselect_all");
|
$("#siteMapTree").jstree("deselect_all");
|
||||||
});
|
});
|
||||||
$('#properties ._edit_cut').click(function(){
|
$('#properties ._edit_cut').click(function(){
|
||||||
console.log(1, $._xeAdminVar.sSelectedMenuSrl);
|
//console.log(1, $._xeAdminVar.sSelectedMenuSrl);
|
||||||
|
|
||||||
$('._edit_paste').removeAttr('disabled');
|
$('._edit_paste').removeAttr('disabled');
|
||||||
|
|
||||||
|
|
@ -1388,7 +1388,7 @@ jQuery(function($){
|
||||||
$('#menu'+$._xeAdminVar.sCopySourceMenuSrl).addClass('_isCut');
|
$('#menu'+$._xeAdminVar.sCopySourceMenuSrl).addClass('_isCut');
|
||||||
});
|
});
|
||||||
$('#properties ._edit_copy').click(function(){
|
$('#properties ._edit_copy').click(function(){
|
||||||
console.log(2, $._xeAdminVar.sSelectedMenuSrl);
|
//console.log(2, $._xeAdminVar.sSelectedMenuSrl);
|
||||||
|
|
||||||
$('._edit_paste').removeAttr('disabled');
|
$('._edit_paste').removeAttr('disabled');
|
||||||
|
|
||||||
|
|
@ -1398,7 +1398,7 @@ jQuery(function($){
|
||||||
$._xeAdminVar.bCut = false;
|
$._xeAdminVar.bCut = false;
|
||||||
});
|
});
|
||||||
$('._edit_paste').click(function(){
|
$('._edit_paste').click(function(){
|
||||||
console.log($._xeAdminVar.sCopySourceMenuSrl);
|
//console.log($._xeAdminVar.sCopySourceMenuSrl);
|
||||||
|
|
||||||
if(!$._xeAdminVar.sCopySourceMenuSrl) return;
|
if(!$._xeAdminVar.sCopySourceMenuSrl) return;
|
||||||
|
|
||||||
|
|
@ -1432,7 +1432,7 @@ jQuery(function($){
|
||||||
params['source_srl'] = 0;
|
params['source_srl'] = 0;
|
||||||
|
|
||||||
$.exec_json("menu.procMenuAdminMoveItem", params, function(htData){
|
$.exec_json("menu.procMenuAdminMoveItem", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
return;
|
return;
|
||||||
|
|
@ -1450,7 +1450,7 @@ jQuery(function($){
|
||||||
params['menu_item_srl'] = $._xeAdminVar.sCopySourceMenuSrl;
|
params['menu_item_srl'] = $._xeAdminVar.sCopySourceMenuSrl;
|
||||||
|
|
||||||
$.exec_json("menu.procMenuAdminCopyItem", params, function(htData){
|
$.exec_json("menu.procMenuAdminCopyItem", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
return;
|
return;
|
||||||
|
|
@ -1468,7 +1468,7 @@ jQuery(function($){
|
||||||
var params = {};
|
var params = {};
|
||||||
params['menu_srl'] = sSelectedMenuSrl;
|
params['menu_srl'] = sSelectedMenuSrl;
|
||||||
$.exec_json("menu.procMenuAdminDelete", params, function(htData){
|
$.exec_json("menu.procMenuAdminDelete", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
return;
|
return;
|
||||||
|
|
@ -1515,7 +1515,7 @@ jQuery(function($){
|
||||||
params['index_module_srl'] = htNodeInfo[$._xeAdminVar.sSelectedMenuSrl].module_srl;
|
params['index_module_srl'] = htNodeInfo[$._xeAdminVar.sSelectedMenuSrl].module_srl;
|
||||||
|
|
||||||
$.exec_json("admin.procInstallAdminUpdateIndexModule", params, function(htData){
|
$.exec_json("admin.procInstallAdminUpdateIndexModule", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
return;
|
return;
|
||||||
|
|
@ -1531,7 +1531,7 @@ jQuery(function($){
|
||||||
$("#tmpl_menuTypeItem").template( "menuTypeItem" );
|
$("#tmpl_menuTypeItem").template( "menuTypeItem" );
|
||||||
$('#add').bind("show", function(){
|
$('#add').bind("show", function(){
|
||||||
$.exec_json("menu.getMenuAdminInstalledMenuType", {}, function(htData){
|
$.exec_json("menu.getMenuAdminInstalledMenuType", {}, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
|
|
||||||
var sResult = "";
|
var sResult = "";
|
||||||
setItemTypes(htData.menu_types);
|
setItemTypes(htData.menu_types);
|
||||||
|
|
@ -1545,7 +1545,7 @@ jQuery(function($){
|
||||||
|
|
||||||
item = $._xeAdminVar.htItemTypes[sModuleName];
|
item = $._xeAdminVar.htItemTypes[sModuleName];
|
||||||
sModuleTitle = item.title;
|
sModuleTitle = item.title;
|
||||||
console.log(item);
|
//console.log(item);
|
||||||
|
|
||||||
sResult += $.tmpl( "menuTypeItem", {
|
sResult += $.tmpl( "menuTypeItem", {
|
||||||
ModuleName : sModuleName,
|
ModuleName : sModuleName,
|
||||||
|
|
@ -1629,7 +1629,7 @@ jQuery(function($){
|
||||||
//params['page'] = nPage;
|
//params['page'] = nPage;
|
||||||
//"menu.getAutoinstallAdminMenuPackageList"
|
//"menu.getAutoinstallAdminMenuPackageList"
|
||||||
$.exec_json(sAction, htParams, function(htData){
|
$.exec_json(sAction, htParams, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
//var sResult = "";
|
//var sResult = "";
|
||||||
$Panel.find('.list').html("");
|
$Panel.find('.list').html("");
|
||||||
|
|
||||||
|
|
@ -1707,7 +1707,7 @@ jQuery(function($){
|
||||||
var sSelectedModuleName = $._xeAdminVar.sSelectedModuleName;
|
var sSelectedModuleName = $._xeAdminVar.sSelectedModuleName;
|
||||||
var sSelectedMenuSrl = $._xeAdminVar.sSelectedMenuSrl;
|
var sSelectedMenuSrl = $._xeAdminVar.sSelectedMenuSrl;
|
||||||
|
|
||||||
console.log($._xeAdminVar, sSelectedModuleName, sSelectedMenuSrl, sMenuName, sUrl);
|
//console.log($._xeAdminVar, sSelectedModuleName, sSelectedMenuSrl, sMenuName, sUrl);
|
||||||
|
|
||||||
var isShortCut = "N";
|
var isShortCut = "N";
|
||||||
var $labels;
|
var $labels;
|
||||||
|
|
@ -1764,7 +1764,7 @@ jQuery(function($){
|
||||||
)
|
)
|
||||||
*/
|
*/
|
||||||
$.exec_json("menu.procMenuAdminInsertItem", params, function(htData){
|
$.exec_json("menu.procMenuAdminInsertItem", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
return;
|
return;
|
||||||
|
|
@ -1782,7 +1782,7 @@ jQuery(function($){
|
||||||
$('#default').bind("show", function(){
|
$('#default').bind("show", function(){
|
||||||
var htInfo = htNodeInfo[$._xeAdminVar.sSelectedMenuSrl];
|
var htInfo = htNodeInfo[$._xeAdminVar.sSelectedMenuSrl];
|
||||||
|
|
||||||
console.log(htInfo);
|
//console.log(htInfo);
|
||||||
|
|
||||||
if(htInfo.sModuleType === "_SHORTCUT"){
|
if(htInfo.sModuleType === "_SHORTCUT"){
|
||||||
$(this).addClass('url');
|
$(this).addClass('url');
|
||||||
|
|
@ -1822,7 +1822,7 @@ jQuery(function($){
|
||||||
//console.log(sMenuName, sMID, sNewWindow, sLeaveUnfolded);
|
//console.log(sMenuName, sMID, sNewWindow, sLeaveUnfolded);
|
||||||
//return;
|
//return;
|
||||||
|
|
||||||
console.log($._xeAdminVar, sSelectedModuleName, sSelectedMenuSrl, sMenuName, sMID, sNewWindow, sLeaveUnfolded);
|
//console.log($._xeAdminVar, sSelectedModuleName, sSelectedMenuSrl, sMenuName, sMID, sNewWindow, sLeaveUnfolded);
|
||||||
/*
|
/*
|
||||||
var isShortCut = "N";
|
var isShortCut = "N";
|
||||||
// URL?
|
// URL?
|
||||||
|
|
@ -1862,7 +1862,7 @@ jQuery(function($){
|
||||||
)
|
)
|
||||||
*/
|
*/
|
||||||
$.exec_json("menu.procMenuAdminUpdateItem", params, function(htData){
|
$.exec_json("menu.procMenuAdminUpdateItem", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
return;
|
return;
|
||||||
|
|
@ -1925,7 +1925,7 @@ jQuery(function($){
|
||||||
skin: ""
|
skin: ""
|
||||||
use_mobile: "N"
|
use_mobile: "N"
|
||||||
*/
|
*/
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
|
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
|
|
@ -2136,7 +2136,7 @@ jQuery(function($){
|
||||||
params['menu_item_srl'] = sSelectedMenuSrl;
|
params['menu_item_srl'] = sSelectedMenuSrl;
|
||||||
|
|
||||||
$.exec_json("menu.procMenuAdminDeleteItem", params, function(htData){
|
$.exec_json("menu.procMenuAdminDeleteItem", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
if(htData.error !== 0){
|
if(htData.error !== 0){
|
||||||
alert(htData.message);
|
alert(htData.message);
|
||||||
return;
|
return;
|
||||||
|
|
@ -2211,7 +2211,7 @@ jQuery(function($){
|
||||||
};
|
};
|
||||||
// https://code.google.com/p/xe-core/wiki/ModuleSkinInfo_GET_API
|
// https://code.google.com/p/xe-core/wiki/ModuleSkinInfo_GET_API
|
||||||
$.exec_json("module.getModuleSkinInfoList", params, function(htData){
|
$.exec_json("module.getModuleSkinInfoList", params, function(htData){
|
||||||
console.log(htData);
|
//console.log(htData);
|
||||||
|
|
||||||
//skin_info_list: Object
|
//skin_info_list: Object
|
||||||
|
|
||||||
|
|
@ -2270,8 +2270,31 @@ jQuery(function($){
|
||||||
sSkin : sSkinName
|
sSkin : sSkinName
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
//-----------------------
|
|
||||||
|
|
||||||
|
$('#auth').on('show', function(){
|
||||||
|
/*
|
||||||
|
var params2 = new Array();
|
||||||
|
var response_tags2 = new Array('grantList');
|
||||||
|
params2['target_module'] = 'board';
|
||||||
|
params2['module_srl'] = '106';
|
||||||
|
exec_xml("module","getModuleAdminGrant", params2, completeTmp, response_tags2);
|
||||||
|
*/
|
||||||
|
//console.log(htNodeInfo[$._xeAdminVar.sSelectedMenuSrl]);
|
||||||
|
var params = {
|
||||||
|
target_module : htNodeInfo[$._xeAdminVar.sSelectedMenuSrl].sModuleType,
|
||||||
|
module_srl : htNodeInfo[$._xeAdminVar.sSelectedMenuSrl].module_srl
|
||||||
|
};
|
||||||
|
/*
|
||||||
|
$.exec_json("module.getModuleAdminGrant", params, function(htData){
|
||||||
|
console.log(htData);
|
||||||
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
|
$.exec_json("menu.getMenuAdminSiteMap", {}, function(htData){
|
||||||
|
//console.log(htData);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
var $foggyLayer = $("<div>");
|
var $foggyLayer = $("<div>");
|
||||||
$foggyLayer.css({
|
$foggyLayer.css({
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue