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
Mukul
erp5
Commits
0cb6879f
Commit
0cb6879f
authored
Apr 13, 2018
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs]: Update modification_dict format according to change made in JSON format
parent
2dd310e1
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
54 additions
and
48 deletions
+54
-48
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_document_list_js.js
...page_module/gadget_officejs_erp5_page_document_list_js.js
+16
-14
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_document_list_js.xml
...age_module/gadget_officejs_erp5_page_document_list_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_media_player_document_list_js.js
...e_module/gadget_officejs_media_player_document_list_js.js
+16
-14
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_media_player_document_list_js.xml
..._module/gadget_officejs_media_player_document_list_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_wallsearch_document_list_js.js
...teItem/web_page_module/ojs_wallsearch_document_list_js.js
+16
-14
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_wallsearch_document_list_js.xml
...eItem/web_page_module/ojs_wallsearch_document_list_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_document_list_js.js
View file @
0cb6879f
...
...
@@ -26,6 +26,7 @@
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
modification_date
"
))
{
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
modification_date
);
result
.
data
.
rows
[
i
].
value
.
modification_date
=
{
field_gadget_param
:
{
allow_empty_time
:
0
,
ampm_time_style
:
0
,
css_class
:
"
date_field
"
,
...
...
@@ -40,6 +41,7 @@
timezone_style
:
0
,
title
:
"
Modification Date
"
,
type
:
"
DateTimeField
"
}
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_document_list_js.xml
View file @
0cb6879f
...
...
@@ -270,7 +270,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
3.17945.63308.40789
</string>
</value>
<value>
<string>
96
6.41210.1237.18158
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -288,7 +288,7 @@
</tuple>
<state>
<tuple>
<float>
15
10665209.8
</float>
<float>
15
23022228.16
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_media_player_document_list_js.js
View file @
0cb6879f
...
...
@@ -26,6 +26,7 @@
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
modification_date
"
))
{
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
modification_date
);
result
.
data
.
rows
[
i
].
value
.
modification_date
=
{
field_gadget_param
:
{
allow_empty_time
:
0
,
ampm_time_style
:
0
,
css_class
:
"
date_field
"
,
...
...
@@ -40,6 +41,7 @@
timezone_style
:
0
,
title
:
"
Modification Date
"
,
type
:
"
DateTimeField
"
}
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_media_player_document_list_js.xml
View file @
0cb6879f
...
...
@@ -273,7 +273,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
966.
18608.9565.13602
</string>
</value>
<value>
<string>
966.
44404.50238.55500
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>
152
1474672.01
</float>
<float>
152
3022279.07
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_wallsearch_document_list_js.js
View file @
0cb6879f
...
...
@@ -29,6 +29,7 @@
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
created_time
"
))
{
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
created_time
);
result
.
data
.
rows
[
i
].
value
.
created_time
=
{
field_gadget_param
:
{
allow_empty_time
:
0
,
ampm_time_style
:
0
,
css_class
:
"
date_field
"
,
...
...
@@ -37,12 +38,13 @@
editable
:
0
,
hidden
:
0
,
hidden_day_is_last_day
:
0
,
default
:
date
.
toUTCString
(),
key
:
"
created_tim
e
"
,
"
default
"
:
date
.
toUTCString
(),
key
:
"
modification_dat
e
"
,
required
:
0
,
timezone_style
:
0
,
title
:
"
Creation Tim
e
"
,
title
:
"
Modification Dat
e
"
,
type
:
"
DateTimeField
"
}
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_wallsearch_document_list_js.xml
View file @
0cb6879f
...
...
@@ -271,7 +271,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
2.22793.9752.13704
</string>
</value>
<value>
<string>
96
6.44408.19905.40038
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -289,7 +289,7 @@
</tuple>
<state>
<tuple>
<float>
15
06428719.88
</float>
<float>
15
23281181.75
</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