Dotclear


Ignore:
Timestamp:
02/16/18 16:01:59 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

use strict and no more linter warnings/errors as far as possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_posts_actions.js

    r3182 r3706  
     1/*global $, dotclear, usersList */ 
     2'use strict'; 
     3 
    14$(function() { 
    2      new_auth_id = $('#new_auth_id'); 
    3      if (new_auth_id.length) { 
    4           new_auth_id.autocomplete(usersList, 
    5           { 
    6                delay: 1000, 
    7                matchSubset: true, 
    8                matchContains: true 
    9           }); 
    10      } 
    11      $('#new_cat').toggleWithLegend($('#new_cat').parent().children().not('#new_cat'), { 
    12           // no cookie on new category as we don't use this every day 
    13           legend_click: true 
    14      }); 
    15      dotclear.condSubmit('table.posts-list td input[type=checkbox]','input[type=submit]'); 
     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]'); 
    1618}); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map