Dotclear


Ignore:
Timestamp:
10/22/18 14:46:15 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Use numeric fields (with min/max) for sortering items (categories, …), fix ordering of simple menu items when drag'n'drop is disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/blogroll/index.php

    r3874 r3902  
    208208        echo 
    209209        '<tr class="line" id="l_' . $rs->link_id . '">' . 
    210         '<td class="handle minimal">' . form::field(['order[' . $rs->link_id . ']'], 2, 5, [ 
     210        '<td class="handle minimal">' . form::number(['order[' . $rs->link_id . ']'], [ 
     211            'min'        => 1, 
     212            'max'        => $rs->count(), 
    211213            'default'    => $position, 
    212214            'class'      => 'position', 
Note: See TracChangeset for help on using the changeset viewer.

Sites map