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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Gambier
erp5
Commits
3b78fb24
Commit
3b78fb24
authored
Apr 13, 2018
by
Valentin Benozillo
Committed by
Xiaowu Zhang
May 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Add capture fields in html5_input
parent
a5c1da98
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_filefield_js.js
...plateItem/web_page_module/rjs_gadget_erp5_filefield_js.js
+2
-1
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_filefield_js.xml
...lateItem/web_page_module/rjs_gadget_erp5_filefield_js.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_input_js.js
...TemplateItem/web_page_module/rjs_gadget_html5_input_js.js
+4
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_input_js.xml
...emplateItem/web_page_module/rjs_gadget_html5_input_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_filefield_js.js
View file @
3b78fb24
...
@@ -21,7 +21,8 @@
...
@@ -21,7 +21,8 @@
// as user may have modified the input value
// as user may have modified the input value
render_timestamp
:
new
Date
().
getTime
(),
render_timestamp
:
new
Date
().
getTime
(),
multiple
:
field_json
.
multiple
,
multiple
:
field_json
.
multiple
,
accept
:
field_json
.
accept
accept
:
field_json
.
accept
,
capture
:
field_json
.
capture
};
};
return
this
.
changeState
(
state_dict
);
return
this
.
changeState
(
state_dict
);
})
})
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_filefield_js.xml
View file @
3b78fb24
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
5.52413.25948.8260
</string>
</value>
<value>
<string>
96
6.34374.12939.54886
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
19831600.83
</float>
<float>
15
23276564.09
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_input_js.js
View file @
3b78fb24
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
trim
:
options
.
trim
||
false
,
trim
:
options
.
trim
||
false
,
multiple
:
options
.
multiple
,
multiple
:
options
.
multiple
,
accept
:
options
.
accept
,
accept
:
options
.
accept
,
capture
:
options
.
capture
,
append
:
options
.
append
,
// text to apend after the field
append
:
options
.
append
,
// text to apend after the field
prepend
:
options
.
prepend
// text to prepend infront the field
prepend
:
options
.
prepend
// text to prepend infront the field
});
});
...
@@ -62,6 +63,9 @@
...
@@ -62,6 +63,9 @@
if
(
this
.
state
.
step
)
{
if
(
this
.
state
.
step
)
{
textarea
.
setAttribute
(
'
step
'
,
this
.
state
.
step
);
textarea
.
setAttribute
(
'
step
'
,
this
.
state
.
step
);
}
}
if
(
this
.
state
.
capture
)
{
textarea
.
setAttribute
(
'
capture
'
,
this
.
state
.
capture
);
}
if
(
this
.
state
.
accept
)
{
if
(
this
.
state
.
accept
)
{
textarea
.
setAttribute
(
'
accept
'
,
this
.
state
.
accept
);
textarea
.
setAttribute
(
'
accept
'
,
this
.
state
.
accept
);
}
}
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_input_js.xml
View file @
3b78fb24
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
966.
34378.6978.54135
</string>
</value>
<value>
<string>
966.
44416.58701.37888
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
152
2420619.52
</float>
<float>
152
3022821.7
</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