decir/js/admin/reorder.js
changeset 9 6d9655e02026
parent 8 850e1b1209a9
child 10 36bc382ed459
equal deleted inserted replaced
8:850e1b1209a9 9:6d9655e02026
    15   
    15   
    16   reorder_state._ = true;
    16   reorder_state._ = true;
    17   if ( $dynano(this).hasClass('decir_forum') )
    17   if ( $dynano(this).hasClass('decir_forum') )
    18   {
    18   {
    19     reorder_state.type = 'forum';
    19     reorder_state.type = 'forum';
    20   }
    20     this.style.borderBottom = '5px solid #000000';
    21   else if ( $dynano(this).hasClass('decir_category') )
       
    22   {
       
    23     alert(this.parentNode.DecirForumID);
       
    24     document.getElementById('forum_cat_' + this.parentNode.DecirForumID).lastChild.lastChild.style.borderBottom = '5px solid #000000';
       
    25     reorder_state.type = 'category';
       
    26   }
    21   }
    27   
    22   
    28   document.onmousemove = decir_admin_dragforum_onmouse;
    23   document.onmousemove = decir_admin_dragforum_onmouse;
    29   
    24   
    30   return false;
    25   return false;