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
Bryan Kaperick
erp5
Commits
096fb5d1
Commit
096fb5d1
authored
Jul 24, 2018
by
Bryan Kaperick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated officejs text editor to include history button.
parent
e1620dac
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
775 additions
and
53 deletions
+775
-53
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.js
...e_module/gadget_officejs_controller_page_controller_js.js
+1
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.xml
..._module/gadget_officejs_controller_page_controller_js.xml
+2
-2
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
+3
-2
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
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_see_history_html.xml
...age_module/gadget_officejs_erp5_page_see_history_html.xml
+362
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_see_history_js.js
...b_page_module/gadget_officejs_erp5_page_see_history_js.js
+35
-36
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_see_history_js.xml
..._page_module/gadget_officejs_erp5_page_see_history_js.xml
+358
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_document_list_js.js
.../web_page_module/gadget_officejs_page_document_list_js.js
+4
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_document_list_js.xml
...web_page_module/gadget_officejs_page_document_list_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.xml
..._page_module/gadget_officejs_page_jio_configurator_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_configurator_js.xml
...em/web_page_module/ojs_page_drive_app_configurator_js.xml
+3
-3
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.js
View file @
096fb5d1
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
,
var
gadget
=
this
,
child_gadget_url
;
child_gadget_url
;
return
gadget
.
jio_get
(
options
.
jio_key
)
return
gadget
.
jio_get
(
options
.
jio_key
)
.
push
(
function
(
result
)
{
.
push
(
function
(
result
)
{
...
@@ -88,4 +87,4 @@
...
@@ -88,4 +87,4 @@
});
});
});
});
}(
document
,
window
,
rJS
));
}(
document
,
window
,
rJS
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.xml
View file @
096fb5d1
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
7.6016.61211.59613
</string>
</value>
<value>
<string>
96
8.63092.49502.60160
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
24754712.51
</float>
<float>
15
31834849.72
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_document_list_js.js
View file @
096fb5d1
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
jio_toggleRevisionOption
"
,
"
jio_toggleRevisionOption
"
)
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// declared methods
// declared methods
...
@@ -67,7 +69,6 @@
...
@@ -67,7 +69,6 @@
.
declareMethod
(
"
render
"
,
function
()
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
return
RSVP
.
all
([
return
RSVP
.
all
([
...
@@ -137,4 +138,4 @@
...
@@ -137,4 +138,4 @@
});
});
});
});
});
});
}(
window
,
rJS
,
RSVP
));
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_document_list_js.xml
View file @
096fb5d1
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
vincent
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -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
6.41210.1237.18158
</string>
</value>
<value>
<string>
96
8.63158.19596.29713
</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
23022228.16
</float>
<float>
15
31839117.64
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_see_history_html.xml
0 → 100644
View file @
096fb5d1
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_see_history_js.js
View file @
096fb5d1
...
@@ -20,44 +20,43 @@
...
@@ -20,44 +20,43 @@
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
var
gadget
=
this
;
var
gadget
=
this
;
return
gadget
.
jio_toggleRevisionOption
()
return
gadget
.
jio_toggleRevisionOption
(
true
)
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
jio_allDocs
(
param_list
[
0
])
return
gadget
.
jio_allDocs
(
param_list
[
0
]);
.
push
(
function
(
result
)
{
})
var
i
,
date
,
len
=
result
.
data
.
total_rows
;
.
push
(
function
(
result
)
{
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
var
i
,
date
,
len
=
result
.
data
.
total_rows
;
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
modification_date
"
)
)
{
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
modification_date
);
if
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
modification_date
"
))
{
result
.
data
.
rows
[
i
].
value
.
modification_date
=
{
date
=
new
Date
(
result
.
data
.
rows
[
i
].
value
.
modification_date
);
field_gadget_param
:
{
result
.
data
.
rows
[
i
].
value
.
modification_date
=
{
allow_empty_time
:
0
,
field_gadget_param
:
{
ampm_time_styl
e
:
0
,
allow_empty_tim
e
:
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
"
]
=
{
};
key
:
"
listbox_uid:list
"
,
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
value
:
2713
key
:
"
listbox_uid:list
"
,
};
value
:
2713
}
}
;
}
}
return
gadget
.
jio_toggleRevisionOption
()
}
.
push
(
function
()
{
.
push
(
function
()
{
return
result
;
gadget
.
jio_toggleRevisionOption
(
false
);
});
return
result
;
});
});
});
})
})
.
allowPublicAcquisition
(
'
notifySubmit
'
,
function
()
{
.
allowPublicAcquisition
(
'
notifySubmit
'
,
function
()
{
return
this
.
triggerSubmit
();
return
this
.
triggerSubmit
();
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_see_history_js.xml
0 → 100644
View file @
096fb5d1
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_document_list_js.js
View file @
096fb5d1
...
@@ -36,8 +36,11 @@
...
@@ -36,8 +36,11 @@
.
declareAcquiredMethod
(
'
getSetting
'
,
'
getSetting
'
)
.
declareAcquiredMethod
(
'
getSetting
'
,
'
getSetting
'
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
jio_toggleRevisionOption
"
,
"
jio_toggleRevisionOption
"
)
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
var
gadget
=
this
;
var
gadget
=
this
;
gadget
.
jio_toggleRevisionOption
(
false
);
return
this
.
jio_allDocs
.
apply
(
this
,
param_list
)
return
this
.
jio_allDocs
.
apply
(
this
,
param_list
)
.
push
(
function
(
result
)
{
.
push
(
function
(
result
)
{
var
i
,
var
i
,
...
@@ -119,4 +122,4 @@
...
@@ -119,4 +122,4 @@
});
});
});
});
}(
window
,
RSVP
,
rJS
));
}(
window
,
RSVP
,
rJS
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_document_list_js.xml
View file @
096fb5d1
...
@@ -267,7 +267,7 @@
...
@@ -267,7 +267,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
59.44888.46554.50039
</string>
</value>
<value>
<string>
9
68.63157.4401.28006
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -285,7 +285,7 @@
...
@@ -285,7 +285,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
498035961.94
</float>
<float>
1
531838725.42
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.xml
View file @
096fb5d1
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
1.10686.10882.5973
</string>
</value>
<value>
<string>
96
8.61786.19635.10274
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
01771018.12
</float>
<float>
15
31816452.69
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_configurator_js.xml
View file @
096fb5d1
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
2.48398.15828.27938
</string>
</value>
<value>
<string>
96
8.44071.55411.42615
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,8 +254,8 @@
...
@@ -254,8 +254,8 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
07880576.48
</float>
<float>
15
30708459.0
</float>
<string>
GMT+9
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
</object>
</object>
...
...
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