Issue #1684852 by nod_: JSHint locale.

8.0.x
Alex Pott 2013-05-22 11:04:13 -07:00
parent 361964b4b4
commit 12d1760807
2 changed files with 1 additions and 2 deletions

View File

@ -46,7 +46,6 @@ Drupal.behaviors.localeTranslateDirty = {
Drupal.behaviors.hideUpdateInformation = {
attach: function (context, settings) {
var $table = $('#locale-translation-status-form').once('expand-updates');
var effect = settings.hideUpdates;
if ($table.length) {
var $tbodies = $table.find('tbody');

View File

@ -12,7 +12,7 @@ Drupal.behaviors.importLanguageCodeSelector = {
var $form = $('#locale-translate-import-form').once('autodetect-lang');
if ($form.length) {
var $langcode = $form.find('.langcode-input');
var $file = $form.find('.file-import-input')
$form.find('.file-import-input')
.on('change', function () {
var matches = $(this).val().match(/\.([\-\w]+)\.po/);
if (matches && $langcode.find('option[value="' + matches[1] + '"]').length) {