Changeset 1490:60501ef579eb for admin/js
- Timestamp:
- 08/19/13 08:04:33 (11 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_post.js
r1414 r1490 122 122 hide: $('#post_password').val() == '' 123 123 }); 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 }); 125 139 // We load toolbar on excerpt only when it's ready 126 140 $('#excerpt-area label').toggleWithLegend($('#excerpt-area').children().not('label'),{ 127 141 fn: function() { excerptTb.switchMode(formatField.value); }, 128 142 cookie: 'dcx_post_excerpt', 129 hide: $('#post_excerpt').val() == '', 130 legend_click: true 143 hide: $('#post_excerpt').val() == '' 131 144 }); 132 145 … … 150 163 var a = document.createElement('a'); 151 164 a.href = '#'; 165 a.className = 'button'; 152 166 $(a).click(function() { 153 167 var params = {
Note: See TracChangeset
for help on using the changeset viewer.