diff --git a/js/autosave_form.js b/js/autosave_form.js
index 2bd407c..a944ce2 100644
--- a/js/autosave_form.js
+++ b/js/autosave_form.js
@@ -203,24 +203,6 @@
               clearInterval(Drupal.autosaveForm.timer);
               Drupal.autosaveForm.timer = null;
 
-              if (!Drupal.autosaveForm.beforeUnloadCalled) {
-                var dialogOptions = {
-                  buttons: {
-                    button_confirm: {
-                      text: Drupal.t('Ok'),
-                      primary: true,
-                      click: function () {
-                        $(this).dialog('close');
-                      }
-                    }
-                  }
-                };
-                $.extend(true, dialogOptions, Drupal.autosaveForm.defaultDialogOptions);
-
-                $('<div></div>').appendTo('body')
-                  .html('<div>' + Drupal.t('A server error occurred during autosaving the current page. As a result autosave is disabled. To activate it please revisit the page and continue the editing from the last autosaved state of the current page.') + '</div>')
-                  .dialog(dialogOptions);
-              }
             }
           };
           // Disable progress indication.
