Skip to content
Permalink
Browse files

[FIXED JENKINS-36539] (#2495)

(cherry picked from commit fbb4dc0)
  • Loading branch information...
fuentesj authored and olivergondza committed Sep 18, 2016
1 parent e85e3e2 commit 7e8ea4a967057c3fc9ae4dc72028f780d9fa39e1
Showing with 1 addition and 2 deletions.
  1. +1 −2 war/src/main/js/add-item.js
@@ -107,7 +107,6 @@ $.when(getItems()).done(function(data) {
btn.removeClass('disabled');
btn.prop('disabled', false);
}
btn.focus();
} else {
if (!btn.hasClass('disabled')) {
btn.addClass('disabled');
@@ -233,7 +232,7 @@ $.when(getItems()).done(function(data) {
$("#add-item-panel").find("#name").focus();

// Init NameField
$('input[name="name"]', '#createItem').blur(function() {
$('input[name="name"]', '#createItem').on("blur input", function() {
if (!isItemNameEmpty()) {
var itemName = $('input[name="name"]', '#createItem').val();
$.get("checkJobName", { value: itemName }).done(function(data) {

0 comments on commit 7e8ea4a

Please sign in to comment.
You can’t perform that action at this time.