Commit f2950408 authored by Tristan Cavelier's avatar Tristan Cavelier

XXX changes from rafael

parent 2b20bda2
......@@ -58,7 +58,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
<value> <float>2.0</float> </value>
Please register or sign in to reply
</item>
<item>
<key> <string>title</string> </key>
......@@ -79,7 +79,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string: ${object_url}/TestPage_runSeleniumTest</string> </value>
<value> <string>string: ${object_url}/TestPage_viewRunSeleniumTest</string> </value>
Please register or sign in to reply
</item>
</dictionary>
</pickle>
......
......@@ -63,7 +63,12 @@ relative_url = context.getRelativeUrl()\n
counter = 0\n
if len(annotation_list) > 0 and annotation_list[0] != "":\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
Please register or sign in to reply
element_list.append(newTempBase(context.getPortalObject(), relative_url,\n
title = comment,\n
uid = str(counter),\n
......
......@@ -65,10 +65,6 @@
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......
......@@ -90,7 +90,7 @@ return context.Base_redirect(\'TestPageModule_viewChapterCreationWizard\', \n
</item>
<item>
<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>
Please register or sign in to reply
</item>
<item>
<key> <string>id</string> </key>
......
......@@ -35,7 +35,7 @@
</item>
<item>
<key> <string>action</string> </key>
<value> <string>TestPage_viewAsBook</string> </value>
<value> <string>WebPage_viewAsBook</string> </value>
Please register or sign in to reply
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -35,7 +35,7 @@
</item>
<item>
<key> <string>action</string> </key>
<value> <string>TestPage_viewAsChapter</string> </value>
<value> <string>WebPage_viewAsChapter</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -90,7 +90,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>TestPage_viewExportWebPageDialog</string> </value>
<value> <string>WebPage_viewExportWebPageDialog</string> </value>
</item>
Please register or sign in to reply
<item>
<key> <string>pt</string> </key>
......
......@@ -295,7 +295,7 @@ function convertBook(linkToBook, container){\n
var firstSection = true, firstChapter = true;\n
var n = sections.length;\n
var partCounter = 0, matterCounter = 1;\n
var partContainer;\n
var partContainer = $(\'<div>\');\n
Please register or sign in to reply
for(var i = 0; i < n; i++){\n
var section = sections.eq(i);\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