Dotclear

Changeset 1935:fb17968f0a0f for admin/js


Ignore:
Timestamp:
09/17/13 22:27:03 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
default
Message:

Group category selection and new category on entry sidebar, fixes #1659

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_post.js

    r1832 r1935  
    191191               hide: $('#post_notes').val() == '' 
    192192          }); 
    193           $('#create_cat').toggleWithLegend($('#create_cat').parent().children().not('#create_cat'),{ 
    194                // no cookie on new category as we don't use this every day 
    195                legend_click: true 
    196           }); 
    197193          $('#post_lang').parent().children('label').toggleWithLegend($('#post_lang'),{ 
    198194               user_pref: 'dcx_post_lang', 
     
    216212               legend_click: true 
    217213          }); 
    218           $('#cat_id').parent().children('label').toggleWithLegend($('#cat_id'),{ 
    219                user_pref: 'cat_id', 
     214          $('#label_cat_id').toggleWithLegend($('#label_cat_id').parent().children().not('#label_cat_id'),{ 
     215               user_pref: 'dcx_cat_id', 
    220216               legend_click: true 
    221217          }); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map