]> git.mxchange.org Git - mailer.git/blobdiff - js/ajax-common.js
Rewrote 'we' word a little, rewrote mail order to use SQL_INSERTID() instead of anoth...
[mailer.git] / js / ajax-common.js
index 283e36d82a23defb5b0fdf38592d9a01a896e6a2..113864a9ee58b7b626fcba27c4034058b76bd9d6 100644 (file)
@@ -491,7 +491,7 @@ function doFooterPage (prefix, htmlId, button) {
                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
@@ -592,7 +592,7 @@ function saveChanges (prefix) {
        // 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>');
@@ -624,7 +624,7 @@ function saveChanges (prefix) {
                        // 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);