Permalink
Browse files

set correct markup

  • Loading branch information...
1 parent 4da1c4c commit a3a86c527c30c20f0fffe836449cd879900eb882 @FinalAngel FinalAngel committed Jan 18, 2013
Showing with 8 additions and 6 deletions.
  1. +8 −6 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>

0 comments on commit a3a86c5

Please sign in to comment.