From f304283fd57440d21be17b32507289d8b0c3ceb9 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Thu, 19 Mar 2020 00:20:34 +0900 Subject: [PATCH] Fix #1249 hide waiting message from crawlers --- common/js/xml_handler.js | 3 ++- common/tpl/common_layout.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/js/xml_handler.js b/common/js/xml_handler.js index 98353cdc1..6f6245750 100644 --- a/common/js/xml_handler.js +++ b/common/js/xml_handler.js @@ -430,7 +430,8 @@ * Register the beforeUnload handler. */ $(function() { - waiting_obj = $(".wfsr"); + waiting_obj = $('.wfsr'); + waiting_obj.text(waiting_obj.data('message')); if (show_leaving_warning) { $(document).ajaxStart(function() { $(window).bind("beforeunload", beforeUnloadHandler); diff --git a/common/tpl/common_layout.html b/common/tpl/common_layout.html index 3e7d26f59..892d91e46 100644 --- a/common/tpl/common_layout.html +++ b/common/tpl/common_layout.html @@ -71,7 +71,7 @@ {Context::getHtmlFooter()|noescape} -
{$lang->msg_call_server}
+