Commit f2950408 authored by Tristan Cavelier's avatar Tristan Cavelier

XXX changes from rafael

parent 2b20bda2
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</item> </item>
<item> <item>
<key> <string>priority</string> </key> <key> <string>priority</string> </key>
<value> <float>1.0</float> </value> <value> <float>2.0</float> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string: ${object_url}/TestPage_runSeleniumTest</string> </value> <value> <string>string: ${object_url}/TestPage_viewRunSeleniumTest</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -63,7 +63,12 @@ relative_url = context.getRelativeUrl()\n ...@@ -63,7 +63,12 @@ relative_url = context.getRelativeUrl()\n
counter = 0\n counter = 0\n
if len(annotation_list) > 0 and annotation_list[0] != "":\n if len(annotation_list) > 0 and annotation_list[0] != "":\n
for annotation in annotation_list:\n for annotation in annotation_list:\n
comment, locator, context_url, author, color = annotation[1:-1].split("},{");\n annotation_item = annotation[1:-1].split("},{")\n
if len(annotation_item) == 5:\n
comment, locator, context_url, author, color = annotation_item\n
else:\n
comment = "Failed to process: %s" % annotation\n
locator, context_url, author, color = "", "", "", ""\n
element_list.append(newTempBase(context.getPortalObject(), relative_url,\n element_list.append(newTempBase(context.getPortalObject(), relative_url,\n
title = comment,\n title = comment,\n
uid = str(counter),\n uid = str(counter),\n
......
...@@ -65,10 +65,6 @@ ...@@ -65,10 +65,6 @@
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -90,7 +90,7 @@ return context.Base_redirect(\'TestPageModule_viewChapterCreationWizard\', \n ...@@ -90,7 +90,7 @@ return context.Base_redirect(\'TestPageModule_viewChapterCreationWizard\', \n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>title, author, author_mail, text_content, slide_content</string> </value> <value> <string>title, author, author_mail, text_content, slide_content, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</item> </item>
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <string>TestPage_viewAsBook</string> </value> <value> <string>WebPage_viewAsBook</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</item> </item>
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <string>TestPage_viewAsChapter</string> </value> <value> <string>WebPage_viewAsChapter</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</item> </item>
<item> <item>
<key> <string>name</string> </key> <key> <string>name</string> </key>
<value> <string>TestPage_viewExportWebPageDialog</string> </value> <value> <string>WebPage_viewExportWebPageDialog</string> </value>
</item> </item>
<item> <item>
<key> <string>pt</string> </key> <key> <string>pt</string> </key>
......
...@@ -295,7 +295,7 @@ function convertBook(linkToBook, container){\n ...@@ -295,7 +295,7 @@ function convertBook(linkToBook, container){\n
var firstSection = true, firstChapter = true;\n var firstSection = true, firstChapter = true;\n
var n = sections.length;\n var n = sections.length;\n
var partCounter = 0, matterCounter = 1;\n var partCounter = 0, matterCounter = 1;\n
var partContainer;\n var partContainer = $(\'<div>\');\n
for(var i = 0; i < n; i++){\n for(var i = 0; i < n; i++){\n
var section = sections.eq(i);\n var section = sections.eq(i);\n
var isPart = section[0].tagName.toUpperCase() == \'UL\';\n var isPart = section[0].tagName.toUpperCase() == \'UL\';\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment