| Revision 2566:9bf417837888,
            469 bytes
            checked in by franck <carnet.franck.paul@…>, 12 years ago
            (diff) | 
        
          | 
Add some people in CREDITS, remove trailing spaces and tabs.
 | 
      
      
        
  | Line |  | 
|---|
| 1 | $(function() { | 
|---|
| 2 | $("#my-favs ul").sortable({'cursor':'move'}); | 
|---|
| 3 | $("#my-favs ul, #my-favs ul *").css({'cursor':'move'}); | 
|---|
| 4 | $("#my-favs ul input").css({'cursor':'auto'}); | 
|---|
| 5 | $('#favs-form').submit(function() { | 
|---|
| 6 | var order=[]; | 
|---|
| 7 | $("#my-favs ul li input.position").each(function() { | 
|---|
| 8 | order.push(this.name.replace(/^order\[([^\]]+)\]$/,'$1')); | 
|---|
| 9 | }); | 
|---|
| 10 | $("input[name=favs_order]")[0].value = order.join(','); | 
|---|
| 11 | return true; | 
|---|
| 12 | }); | 
|---|
| 13 | $("#my-favs ul li input.position").hide(); | 
|---|
| 14 | }); | 
|---|
       
      Note: See 
TracBrowser
        for help on using the repository browser.