Skip to content

Commit

Permalink
[JENKINS-33755] Modified the URL used for checkJobName
Browse files Browse the repository at this point in the history
  • Loading branch information
recena committed Mar 31, 2016
1 parent f071478 commit 827f4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion war/src/main/js/add-item.js
Expand Up @@ -166,7 +166,7 @@ $.when(getItems()).done(function(data){
$('input[name="name"]', '#createItem').blur(function() {
if (!isItemNameEmpty()) {
var itemName = $('input[name="name"]', '#createItem').val();
$.get(jRoot + "/checkJobName", { value: itemName }).done(function(data) {
$.get("checkJobName", { value: itemName }).done(function(data) {
var message = parseResponseFromCheckJobName(data);
if (message !== '') {
activateValidationMessage('#itemname-invalid', '.add-item-name', message);
Expand Down

0 comments on commit 827f4c5

Please sign in to comment.