Revision 1056:b67f949a98f8,
433 bytes
checked in by JcDenis, 13 years ago
(diff) |
- Twig know loaded in dcCore
- Admin context now loaded in admin prepend and avavailable under $_ctx
- Copy admin theme features in default-templates
- New URL argument to serve theme file as ?tf=my_theme_file
|
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.