Dotclear

Changeset 1392:f654316f6e43 for admin/js


Ignore:
Timestamp:
08/16/13 10:39:47 (12 years ago)
Author:
Dsls
Branch:
default
Message:
  • Added foldable sidebar entries,
  • Added new behavior : adminPostFormSidebarItems
  • Sidebar entries are now manageable from plugins

see #1533

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_post.js

    r1353 r1392  
    122122               hide: $('#post_password').val() == '' 
    123123          }); 
    124            
     124          $('#post_status').parent().toggleWithLegend($('#post_status'),{ 
     125               cookie: 'dcx_post_status' 
     126          }); 
     127          $('#post_dt').parent().toggleWithLegend($('#post_dt').parent().children().not('label'),{ 
     128               cookie: 'dcx_post_dt' 
     129          }); 
     130          $('#post_format').parent().toggleWithLegend($('#post_format').parent().children().not('label').add($('#post_format').parents('p').next()),{ 
     131               cookie: 'dcx_post_format' 
     132          }); 
     133          $('#cat_id').parent().toggleWithLegend($('#cat_id'),{ 
     134               cookie: 'cat_id' 
     135          }); 
     136          $('#post_url').parent().toggleWithLegend($('#post_url').parent().children().not('label'),{ 
     137               cookie: 'post_url' 
     138          }); 
    125139          // We load toolbar on excerpt only when it's ready 
    126140          $('#excerpt-area label').toggleWithLegend($('#excerpt-area').children().not('label'),{ 
Note: See TracChangeset for help on using the changeset viewer.

Sites map