- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_post.js
r1712 r1714 120 120 // Hide some fields 121 121 $('#notes-area label').toggleWithLegend($('#notes-area').children().not('label'),{ 122 cookie: 'dcx_post_notes',122 user_pref: 'dcx_post_notes', 123 123 legend_click:true, 124 124 hide: $('#post_notes').val() == '' … … 129 129 }); 130 130 $('#post_lang').parent().children('label').toggleWithLegend($('#post_lang'),{ 131 cookie: 'dcx_post_lang',131 user_pref: 'dcx_post_lang', 132 132 legend_click: true 133 133 }); 134 134 $('#post_password').parent().children('label').toggleWithLegend($('#post_password'),{ 135 cookie: 'dcx_post_password',135 user_pref: 'dcx_post_password', 136 136 legend_click: true, 137 137 hide: $('#post_password').val() == '' 138 138 }); 139 139 $('#post_status').parent().children('label').toggleWithLegend($('#post_status'),{ 140 cookie: 'dcx_post_status',140 user_pref: 'dcx_post_status', 141 141 legend_click: true 142 142 }); 143 143 $('#post_dt').parent().children('label').toggleWithLegend($('#post_dt').parent().children().not('label'),{ 144 cookie: 'dcx_post_dt',144 user_pref: 'dcx_post_dt', 145 145 legend_click: true 146 146 }); 147 147 $('#label_format').toggleWithLegend($('#label_format').parent().children().not('#label_format'),{ 148 cookie: 'dcx_post_format',148 user_pref: 'dcx_post_format', 149 149 legend_click: true 150 150 }); 151 151 $('#cat_id').parent().children('label').toggleWithLegend($('#cat_id'),{ 152 cookie: 'cat_id',152 user_pref: 'cat_id', 153 153 legend_click: true 154 154 }); … … 158 158 }); 159 159 $('#post_url').parent().children('label').toggleWithLegend($('#post_url').parent().children().not('label'),{ 160 cookie: 'post_url',160 user_pref: 'post_url', 161 161 legend_click: true 162 162 }); 163 163 // We load toolbar on excerpt only when it's ready 164 164 $('#excerpt-area label').toggleWithLegend($('#excerpt-area').children().not('label'),{ 165 cookie: 'dcx_post_excerpt',165 user_pref: 'dcx_post_excerpt', 166 166 legend_click: true, 167 167 hide: $('#post_excerpt').val() == ''
Note: See TracChangeset
for help on using the changeset viewer.