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} -