| Line | |
|---|
| 1 | /* TODO: Some nice drag and drop on categories */ |
|---|
| 2 | $(function() { |
|---|
| 3 | $('form#delete-category').submit(function() { |
|---|
| 4 | var c_id = $('#del_cat').val(); |
|---|
| 5 | var c_name = $('#del_cat option[value='+c_id+']').text(); |
|---|
| 6 | return window.confirm(dotclear.msg.confirm_delete_category.replace('%s',c_name)); |
|---|
| 7 | }); |
|---|
| 8 | }); |
|---|
| 9 | |
|---|
| 10 | $(function() { |
|---|
| 11 | $('form#reset-order').submit(function() { |
|---|
| 12 | return window.confirm(dotclear.msg.confirm_reorder_categories); |
|---|
| 13 | }); |
|---|
| 14 | }); |
|---|
Note: See
TracBrowser
for help on using the repository browser.