Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
preetwinder
erp5
Commits
89b58303
Commit
89b58303
authored
7 years ago
by
Cédric Le Ninivin
Browse files
Options
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
+
'
"
'
,
...
...
This diff is collapsed.
Click to expand it.
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
21213
3.5
6
</float>
<float>
1500
31190
3.5
7
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
This diff is collapsed.
Click to expand it.
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