Skip to content
Snippets Groups Projects
Commit 9e239760 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2167625 by nod_: JSHint errors.

parent de6c7760
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -71,6 +71,7 @@ function searchHandler (event) {
* @param {Function} response
*/
function sourceData (request, response) {
/*jshint validthis:true */
var elementId = this.element.attr('id');
if (!(elementId in autocomplete.cache)) {
......
......@@ -28,7 +28,7 @@ Drupal.edit.FieldToolbarView = Backbone.View.extend({
// Generate a DOM-compatible ID for the form container DOM element.
this._id = 'edit-toolbar-for-' + this.model.id.replace(/[\/\[\]]/g, '_');
this.listenTo(this.model, 'change:state', this.stateChange)
this.listenTo(this.model, 'change:state', this.stateChange);
},
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment