in server/resources/buildServerResources/js/editSettings.js [47:83]
createErrorListener: function() {
var that = this;
return {
onException: function(form, e) {
console.trace(e);
},
onEmptyAccountError: function(elem) {
$("errorAccount").innerHTML = elem.firstChild.nodeValue;
that.highlightErrorField($("account"));
},
onEmptyTeamRoomNameError: function(elem) {
$("errorTeamRoomName").innerHTML = elem.firstChild.nodeValue;
that.highlightErrorField($("teamRoomName"));
},
onEmptyUsernameError: function(elem) {
$("errorUsername").innerHTML = elem.firstChild.nodeValue;
that.highlightErrorField($("username"));
},
onEmptyPasswordError: function(elem) {
$("errorPassword").innerHTML = elem.firstChild.nodeValue;
that.highlightErrorField($("password"));
},
onCompleteSave: function(form, responseXML, err) {
BS.ErrorsAwareListener.onCompleteSave(form, responseXML, err);
if (!err) {
BS.XMLResponse.processRedirect(responseXML);
} else {
that.setupEventHandlers();
}
}
};
}