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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
d2b05181
Commit
d2b05181
authored
Oct 20, 2020
by
Gabriel Monnerat
Committed by
Romain Courteaud
Dec 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: support notifyFocus and notifyBlur in gadget_erp5_page_ojs_bookmark_dispatcher.js
parent
6698aa00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_dispatcher.js.js
...age_module/gadget_officejs_bookmark_page_dispatcher.js.js
+12
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_dispatcher.js.xml
...ge_module/gadget_officejs_bookmark_page_dispatcher.js.xml
+3
-3
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_dispatcher.js.js
View file @
d2b05181
...
@@ -147,6 +147,18 @@
...
@@ -147,6 +147,18 @@
});
});
});
});
})
})
.
allowPublicAcquisition
(
"
notifyFocus
"
,
function
notifyFocus
()
{
// All html5 fields in ERP5JS triggers this method when focus
// is triggered. This is usefull to display error text.
// But, in the case of this gadget, we don't need to handle anything.
return
;
})
.
allowPublicAcquisition
(
"
notifyBlur
"
,
function
notifyFocus
()
{
// All html5 fields in ERP5JS triggers this method when blur
// is triggered now. This is usefull to display error text.
// But, in the case of this gadget, we don't need to handle anything.
return
;
})
.
allowPublicAcquisition
(
"
notifyValid
"
,
function
()
{
.
allowPublicAcquisition
(
"
notifyValid
"
,
function
()
{
return
true
;
return
true
;
})
})
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_dispatcher.js.xml
View file @
d2b05181
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
64.25718.43962.9301
</string>
</value>
<value>
<string>
9
87.27464.54320.8209
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -264,7 +264,7 @@
...
@@ -264,7 +264,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
514295848.43
</float>
<float>
1
604429196.75
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</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