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
Léo-Paul Géneau
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
Hide 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,20 +26,22 @@
...
@@ -26,20 +26,22 @@
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
modification_date
"
))
{
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
modification_date
"
))
{
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
modification_date
);
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
modification_date
);
result
.
data
.
rows
[
i
].
value
.
modification_date
=
{
result
.
data
.
rows
[
i
].
value
.
modification_date
=
{
allow_empty_time
:
0
,
field_gadget_param
:
{
ampm_time_style
:
0
,
allow_empty_time
:
0
,
css_class
:
"
date_field
"
,
ampm_time_style
:
0
,
date_only
:
0
,
css_class
:
"
date_field
"
,
description
:
"
The Date
"
,
date_only
:
0
,
editable
:
0
,
description
:
"
The Date
"
,
hidden
:
0
,
editable
:
0
,
hidden_day_is_last_day
:
0
,
hidden
:
0
,
"
default
"
:
date
.
toUTCString
(),
hidden_day_is_last_day
:
0
,
key
:
"
modification_date
"
,
"
default
"
:
date
.
toUTCString
(),
required
:
0
,
key
:
"
modification_date
"
,
timezone_style
:
0
,
required
:
0
,
title
:
"
Modification Date
"
,
timezone_style
:
0
,
type
:
"
DateTimeField
"
title
:
"
Modification Date
"
,
type
:
"
DateTimeField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
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 @@
...
@@ -270,7 +270,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<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>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -288,7 +288,7 @@
...
@@ -288,7 +288,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
10665209.8
</float>
<float>
15
23022228.16
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_media_player_document_list_js.js
View file @
0cb6879f
...
@@ -26,20 +26,22 @@
...
@@ -26,20 +26,22 @@
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
modification_date
"
))
{
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
modification_date
"
))
{
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
modification_date
);
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
modification_date
);
result
.
data
.
rows
[
i
].
value
.
modification_date
=
{
result
.
data
.
rows
[
i
].
value
.
modification_date
=
{
allow_empty_time
:
0
,
field_gadget_param
:
{
ampm_time_style
:
0
,
allow_empty_time
:
0
,
css_class
:
"
date_field
"
,
ampm_time_style
:
0
,
date_only
:
0
,
css_class
:
"
date_field
"
,
description
:
"
The Date
"
,
date_only
:
0
,
editable
:
0
,
description
:
"
The Date
"
,
hidden
:
0
,
editable
:
0
,
hidden_day_is_last_day
:
0
,
hidden
:
0
,
"
default
"
:
date
.
toUTCString
(),
hidden_day_is_last_day
:
0
,
key
:
"
modification_date
"
,
"
default
"
:
date
.
toUTCString
(),
required
:
0
,
key
:
"
modification_date
"
,
timezone_style
:
0
,
required
:
0
,
title
:
"
Modification Date
"
,
timezone_style
:
0
,
type
:
"
DateTimeField
"
title
:
"
Modification Date
"
,
type
:
"
DateTimeField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
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 @@
...
@@ -273,7 +273,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
966.
18608.9565.13602
</string>
</value>
<value>
<string>
966.
44404.50238.55500
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -291,7 +291,7 @@
...
@@ -291,7 +291,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
152
1474672.01
</float>
<float>
152
3022279.07
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_wallsearch_document_list_js.js
View file @
0cb6879f
...
@@ -29,20 +29,22 @@
...
@@ -29,20 +29,22 @@
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
created_time
"
))
{
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
created_time
"
))
{
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
created_time
);
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
created_time
);
result
.
data
.
rows
[
i
].
value
.
created_time
=
{
result
.
data
.
rows
[
i
].
value
.
created_time
=
{
allow_empty_time
:
0
,
field_gadget_param
:
{
ampm_time_style
:
0
,
allow_empty_time
:
0
,
css_class
:
"
date_field
"
,
ampm_time_style
:
0
,
date_only
:
0
,
css_class
:
"
date_field
"
,
description
:
"
The Date
"
,
date_only
:
0
,
editable
:
0
,
description
:
"
The Date
"
,
hidden
:
0
,
editable
:
0
,
hidden_day_is_last_day
:
0
,
hidden
:
0
,
default
:
date
.
toUTCString
(),
hidden_day_is_last_day
:
0
,
key
:
"
created_time
"
,
"
default
"
:
date
.
toUTCString
(),
required
:
0
,
key
:
"
modification_date
"
,
timezone_style
:
0
,
required
:
0
,
title
:
"
Creation Time
"
,
timezone_style
:
0
,
type
:
"
DateTimeField
"
title
:
"
Modification Date
"
,
type
:
"
DateTimeField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
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 @@
...
@@ -271,7 +271,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<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>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -289,7 +289,7 @@
...
@@ -289,7 +289,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
06428719.88
</float>
<float>
15
23281181.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