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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kasra Jamshidi
erp5
Commits
89b58303
Commit
89b58303
authored
Jul 17, 2017
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: Bookmark manager has Hardcoded "add" command
parent
d3dc4648
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_dispatcher_js.js
...age_module/gadget_officejs_page_bookmark_dispatcher_js.js
+8
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_dispatcher_js.xml
...ge_module/gadget_officejs_page_bookmark_dispatcher_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_dispatcher_js.js
View file @
89b58303
...
...
@@ -80,6 +80,14 @@
command
=
search
.
substr
(
1
);
parameter
=
""
;
}
if
(
command
===
"
add
"
)
{
return
gadget
.
getUrlFor
({
page
:
"
add_bookmark
"
,
url_string
:
parameter
}).
push
(
function
(
url
)
{
window
.
location
.
href
=
url
;
});
}
query
=
{
query
:
'
(reference:"
'
+
command
+
'
")
'
+
'
AND portal_type:"
'
+
portal_type
+
'
"
'
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_dispatcher_js.xml
View file @
89b58303
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
960.5
0255.3559.58845
</string>
</value>
<value>
<string>
960.5
1909.43417.21213
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
1500
212133.56
</float>
<float>
1500
311903.57
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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