Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

set correct markup

  • Loading branch information...
commit a3a86c527c30c20f0fffe836449cd879900eb882 1 parent 4da1c4c
@FinalAngel FinalAngel authored
Showing with 8 additions and 6 deletions.
  1. +8 −6 cms/templates/admin/cms/page/close_frame.html
View
14 cms/templates/admin/cms/page/close_frame.html
@@ -1,14 +1,16 @@
{% load i18n admin_modify adminmedia cms_js_tags cms_admin %}
-<html>
+<!doctype html>
+<html lang="en" >
<head>
+ <title>{% trans "Successfully saved." %}</title>
<script type="text/javascript" src="{% admin_static_url %}js/jquery.min.js"></script>
<script type="text/javascript">
- //<![CDATA[
- setTimeout(function () { window.parent.CMS.API.Helpers.reloadBrowser(); }, 10);
- //]]>
+ jQuery().ready(function ($) {
+ window.parent.CMS.API.Helpers.reloadBrowser();
+ });
</script>
</head>
<body>
- ok
+ {% trans "Successfully saved." %}
</body>
-</html>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.