mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 12:19:56 +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>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="category_info" style="position:absolute;top:300px; width:70%; right:20px"></div>
|
||||
<div id="category_info"></div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ function Tree(url){
|
|||
simpleTreeCollection = jQuery('.simpleTree').simpleTree({
|
||||
autoclose: false,
|
||||
afterClick:function(node){
|
||||
jQuery('#category_info').html("");
|
||||
//alert("text-"+jQuery('span:first',node).text());
|
||||
},
|
||||
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},
|
||||
function(data){
|
||||
jQuery('#category_info').html('');
|
||||
if(data.error > 0) Tree(xml_url);
|
||||
});
|
||||
|
||||
|
|
@ -150,6 +152,7 @@ function nodeToggleAll(){
|
|||
|
||||
function deleteNode(node){
|
||||
if(confirm(lang_confirm_delete)){
|
||||
jQuery('#category_info').html("");
|
||||
var params ={
|
||||
"category_srl":node
|
||||
,"parent_srl":0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue