changeset 433:c1716a76c223

action: SvgEditor: meta data fixed
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 24 Sep 2009 13:03:02 +0200
parents 936f630854f6
children 89b8539eebd9
files data/plugin/action/SvgEditor.py
diffstat 1 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/SvgEditor.py	Thu Sep 24 13:02:33 2009 +0200
+++ b/data/plugin/action/SvgEditor.py	Thu Sep 24 13:03:02 2009 +0200
@@ -109,17 +109,19 @@
              # svg data is saved as xml. at least firefox changes the data by adding closing tags e.g. </rect></circle></circle></circle></rect></svg>
              # this renders then only the first element
              filecontent = "<script>%s</script>" % filecontent
-        meta = """<http-equiv="Content-type" content="text/html;charset=UTF-8">
+        meta = """<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
+<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
 <link rel="icon" type="image/png" href="%(htdocs)s/images/logo.png">
-<link rel="stylesheet" href="%(htdocs)s/jgraduate/css/jPicker-1.0.9.css" type="text/css"></link>
-<link rel="stylesheet" href="%(htdocs)s/jgraduate/css/jGraduate-0.2.0.css" type="text/css"></link>
-<link rel="stylesheet" href="%(htdocs)s/svg-editor.css" type="text/css"></link>
-<link rel="stylesheet" href="%(htdocs)s/spinbtn/JQuerySpinBtn.css" type="text/css"></link>
+<link rel="stylesheet" href="%(htdocs)s/jgraduate/css/jPicker-1.0.9.css" type="text/css"/>
+<link rel="stylesheet" href="%(htdocs)s/jgraduate/css/jGraduate-0.2.0.css" type="text/css"/>
+<link rel="stylesheet" href="%(htdocs)s/svg-editor.css" type="text/css"/>
+<link rel="stylesheet" href="%(htdocs)s/spinbtn/JQuerySpinBtn.css" type="text/css"/>
 <script type="text/javascript" src="%(htdocs)s/jquery.js"></script>
 <!--script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script-->
 <script type="text/javascript" src="%(htdocs)s/js-hotkeys/jquery.hotkeys.min.js"></script>
 <!--script type="text/javascript" src="%(htdocs)s/js-hotkeys/jquery.hotkeys-0.7.9.js"></script-->
-<script type="text/javascript" src="%(htdocs)s/jquery-ui/jquery-ui-1.7.2.custom.min.js"></script>
+<script type="text/javascript" src="j%(htdocs)s/query-ui/jquery-ui-1.7.2.custom.min.js"></script>
+
 <script type="text/javascript" src="%(htdocs)s/jgraduate/jpicker-1.0.9.min.js"></script>
 <script type="text/javascript" src="%(htdocs)s/jgraduate/jquery.jgraduate.js"></script>
 <!--script type="text/javascript" src="%(htdocs)s/jgraduate/jquery.jgraduate.min.js"></script-->
@@ -129,6 +131,8 @@
 <!--script type="text/javascript" src="%(htdocs)s/svgcanvas.min.js"></script-->
 <script type="text/javascript" src="%(htdocs)s/svg-editor.js"></script>
 <!--script type="text/javascript" src="%(htdocs)s/svg-editor.min.js"></script-->
+
+        
 """ % {"htdocs": htdocs}
         
         html = """<h2> %(editdrawing)s </h2>