提交 827f4c56 编写于 作者: R recena

[JENKINS-33755] Modified the URL used for checkJobName

上级 f0714788
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册