Dotclear

Changeset 1490:60501ef579eb for admin/js


Ignore:
Timestamp:
08/19/13 08:04:33 (11 years ago)
Author:
Dsls
Branch:
twig
Parents:
1489:f2398e7f3395 (diff), 1466:e67efe636ce1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Fusion avec default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_post.js

    r1414 r1490  
    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'),{ 
    127141               fn: function() { excerptTb.switchMode(formatField.value); }, 
    128142               cookie: 'dcx_post_excerpt', 
    129                hide: $('#post_excerpt').val() == '', 
    130                legend_click: true 
     143               hide: $('#post_excerpt').val() == '' 
    131144          }); 
    132145           
     
    150163          var a = document.createElement('a'); 
    151164          a.href = '#'; 
     165          a.className = 'button'; 
    152166          $(a).click(function() { 
    153167               var params = { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map