Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tristan Cavelier
erp5
Commits
5df855a3
Commit
5df855a3
authored
Jan 30, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix plural and minor fix for cleanForPrince
Ignore clean up when iframe is not present
parent
5105397c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_getDetail.xml
...eItem/portal_skins/erp5_run_my_doc/TestPage_getDetail.xml
+6
-2
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/chapter_converter.js.xml
...tem/portal_skins/erp5_run_my_doc/chapter_converter.js.xml
+5
-1
bt5/erp5_run_my_doc/bt/revision
bt5/erp5_run_my_doc/bt/revision
+1
-1
No files found.
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_getDetail
s
.xml
→
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_getDetail.xml
View file @
5df855a3
...
...
@@ -50,7 +50,11 @@
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
return str(context.getTitle()) + \'\\n\' + str(context.getShortTitle()) + \'\\n\' + str(context.getDescription()) + \'\\n\' + str(context.getContributorList()) + \'\\n\' + str(context.getEffectiveDate());\n
<value>
<string>
return "\\n".join([str(context.getTitle()),\n
str(context.getShortTitle()),\n
str(context.getDescription()), \n
str(context.getContributorList()),\n
str(context.getEffectiveDate())])\n
</string>
</value>
</item>
<item>
...
...
@@ -59,7 +63,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
TestPage_getDetail
s
</string>
</value>
<value>
<string>
TestPage_getDetail
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/chapter_converter.js.xml
View file @
5df855a3
...
...
@@ -57,6 +57,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
for(var i = 0; i < n; i++){\n
var img = images.eq(i);\n
var src = img.attr(\'src\').split(\'?format\')[0].split(\'/\');\n
\n
var extension = img.attr(\'type\');\n
if(extension == undefined)\n
extension = "png";\n
...
...
@@ -66,6 +67,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
}\n
var text = temp.html();\n
var result = "", tagName = "", c = "", chr = "";\n
if (text == null) {\n
return false;\n
}\n
var n = text.length;\n
var tag = false, tagNameParsing = false;\n
for(var i = 0; i < n; i++){\n
...
...
@@ -173,7 +177,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
}\n
\n
function fetchTextInfo(hasToC, txt){\n
$.get(\'TestPage_getDetail
s
\', function(details, status, xhr){\n
$.get(\'TestPage_getDetail\', function(details, status, xhr){\n
details = details.split(\'\\n\');\n
var title = details[0], shortTitle = details[1], description = details[2], authors = parseList(details[3]);\n
var year = details[4].split(\'/\')[0];\n
...
...
bt5/erp5_run_my_doc/bt/revision
View file @
5df855a3
19
\ No newline at end of file
20
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment