return;
} // END - if
- // Do we have a 'next' entry?
+ // Is there a 'next' entry?
//* DEBUG: */ alert('doFooterPage(): button=' + button + ',currentTabId=' + currentTabId + ',nextPage[currentTabId]=' + nextPage[currentTabId]);
if ((button == 'next') && (nextPage[currentTabId] != null)) {
// Then call the AJAX requester
// Mark all elements as unchanged
markAllElementsAsUnchanged();
- // Do we have changed elements
+ // Is there changed elements
if (changedElements.length == 0) {
// This should not happen
displayErrorWindow(prefix, '<div class="ajax_error_message">saveChanges() called with no changed elements.</div>');
// Reset form
resetMailerAjaxForm();
} else {
- // Do we have 'failed_fields' set?
+ // Is there 'failed_fields' set?
if ((ajax_content.failed_fields != undefined) && (ajax_content.message != undefined)) {
// Mark all fields as 'failed'
markFormFieldsFailed(ajax_content.failed_fields);