Remove Top Item from Jump Menu
Jody Lynn - April 1, 2008 - 21:37
| Project: | Jump menu |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
I wanted to remove the top item in the menu (it is just the name of the menu). I used array_slice and set the 4th argument of 'preserve_keys' to true. However this only works for php 5.2+. ( http://us3.php.net/array_slice ). Maybe there is a better way to do this or maybe this should be a jumpmenu option to do this?
| Attachment | Size |
|---|---|
| remove-top.patch | 682 bytes |
