Changeset 2809:d846ab6e5d44 for admin
- Timestamp:
- 11/21/14 14:02:56 (11 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_posts_list.js
r2566 r2809 50 50 $(function() { 51 51 // Entry type switcher 52 $('# type').change(function() {52 $('#selected_type').change(function() { 53 53 this.form.submit(); 54 54 }); -
admin/popup_posts.php
r2758 r2809 25 25 $type_combo[__($k)] = (string) $k; 26 26 } 27 $type = !empty($_POST[' type']) ? $_POST['type'] : null;27 $type = !empty($_POST['selected_type']) ? $_POST['selected_type'] : null; 28 28 if (!$type && $q) { 29 29 // Cope with search form … … 54 54 55 55 echo '<form action="popup_posts.php" method="post">'. 56 '<p><label for "type" class="classic">'.__('Entry type:').'</label> '.form::combo('type',$type_combo,$type).''.56 '<p><label for="selected_type" class="classic">'.__('Entry type:').'</label> '.form::combo('selected_type',$type_combo,$type).''. 57 57 $core->formNonce().'</p>'. 58 58 '<noscript><div><input type="submit" value="'.__('Ok').'" /></div></noscript>'.
Note: See TracChangeset
for help on using the changeset viewer.