in server/resources/buildServerResources/js/priorityClass.js [291:309]
submit: function() {
this.formElement().submitAction.value='assignConfigurations';
if (this.nonDefaultMovedCount != 0) {
var msg = "You select " + this.nonDefaultMovedCount + " configuration(s) from non-default priority class, " +
"are you sure you want to move them in current priority class?";
if (!confirm(msg)) return false;
}
var that = this;
BS.FormSaver.save(this, this.formElement().action, OO.extend(BS.ErrorsAwareListener, {
onAttachToGroupsError: function(elem) {
$("error_attachToClass_" + that.formElement().id).innerHTML = elem.firstChild.nodeValue;
},
onSuccessfulSave: function() {
that._onSuccess();
}
}));
return false;
}