| Revision 3706:170617361020,
528 bytes
checked in by franck <carnet.franck.paul@…>, 8 years ago
(diff) |
|
use strict and no more linter warnings/errors as far as possible
|
| Line | |
|---|
| 1 | /*global $, dotclear, usersList */ |
|---|
| 2 | 'use strict'; |
|---|
| 3 | |
|---|
| 4 | $(function() { |
|---|
| 5 | var new_auth_id = $('#new_auth_id'); |
|---|
| 6 | if (new_auth_id.length) { |
|---|
| 7 | new_auth_id.autocomplete(usersList, { |
|---|
| 8 | delay: 1000, |
|---|
| 9 | matchSubset: true, |
|---|
| 10 | matchContains: true |
|---|
| 11 | }); |
|---|
| 12 | } |
|---|
| 13 | $('#new_cat').toggleWithLegend($('#new_cat').parent().children().not('#new_cat'), { |
|---|
| 14 | // no cookie on new category as we don't use this every day |
|---|
| 15 | legend_click: true |
|---|
| 16 | }); |
|---|
| 17 | dotclear.condSubmit('table.posts-list td input[type=checkbox]', 'input[type=submit]'); |
|---|
| 18 | }); |
|---|
Note: See
TracBrowser
for help on using the repository browser.