mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 16:49:58 +09:00
게시판 카테고리(분류) 레이어 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5143 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7498deae3a
commit
b875745d8b
2 changed files with 4 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
<li class="root" id='tree_0'><span>{$lang->category}</span></li>
|
<li class="root" id='tree_0'><span>{$lang->category}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="category_info" style="position:absolute;top:300px; width:70%; right:20px"></div>
|
<div id="category_info"></div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,6 +70,7 @@ function Tree(url){
|
||||||
simpleTreeCollection = jQuery('.simpleTree').simpleTree({
|
simpleTreeCollection = jQuery('.simpleTree').simpleTree({
|
||||||
autoclose: false,
|
autoclose: false,
|
||||||
afterClick:function(node){
|
afterClick:function(node){
|
||||||
|
jQuery('#category_info').html("");
|
||||||
//alert("text-"+jQuery('span:first',node).text());
|
//alert("text-"+jQuery('span:first',node).text());
|
||||||
},
|
},
|
||||||
afterDblClick:function(node){
|
afterDblClick:function(node){
|
||||||
|
|
@ -89,6 +90,7 @@ function Tree(url){
|
||||||
|
|
||||||
jQuery.exec_json("board.procBoardAdminMoveCategory",{ "module_srl":module_srl,"parent_srl":parent_srl,"target_srl":target_srl,"source_srl":source_srl},
|
jQuery.exec_json("board.procBoardAdminMoveCategory",{ "module_srl":module_srl,"parent_srl":parent_srl,"target_srl":target_srl,"source_srl":source_srl},
|
||||||
function(data){
|
function(data){
|
||||||
|
jQuery('#category_info').html('');
|
||||||
if(data.error > 0) Tree(xml_url);
|
if(data.error > 0) Tree(xml_url);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -150,6 +152,7 @@ function nodeToggleAll(){
|
||||||
|
|
||||||
function deleteNode(node){
|
function deleteNode(node){
|
||||||
if(confirm(lang_confirm_delete)){
|
if(confirm(lang_confirm_delete)){
|
||||||
|
jQuery('#category_info').html("");
|
||||||
var params ={
|
var params ={
|
||||||
"category_srl":node
|
"category_srl":node
|
||||||
,"parent_srl":0
|
,"parent_srl":0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue