Dotclear

Changeset 2809:d846ab6e5d44 for admin


Ignore:
Timestamp:
11/21/14 14:02:56 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Typo and avoiding id used twice

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_posts_list.js

    r2566 r2809  
    5050$(function() { 
    5151     // Entry type switcher 
    52      $('#type').change(function() { 
     52     $('#selected_type').change(function() { 
    5353          this.form.submit(); 
    5454     }); 
  • admin/popup_posts.php

    r2758 r2809  
    2525     $type_combo[__($k)] = (string) $k; 
    2626} 
    27 $type = !empty($_POST['type']) ? $_POST['type'] : null; 
     27$type = !empty($_POST['selected_type']) ? $_POST['selected_type'] : null; 
    2828if (!$type && $q) { 
    2929     // Cope with search form 
     
    5454 
    5555echo '<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).''. 
    5757     $core->formNonce().'</p>'. 
    5858     '<noscript><div><input type="submit" value="'.__('Ok').'" /></div></noscript>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map