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
6172fa5c
Commit
6172fa5c
authored
Dec 01, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: fix jslint errors
parent
d16ab053
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
17 deletions
+18
-17
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_download_html_action_js.js
..._page_module/officejs_notebook_download_html_action_js.js
+4
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_download_html_action_js.xml
...page_module/officejs_notebook_download_html_action_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_export_action_js.js
...tem/web_page_module/officejs_notebook_export_action_js.js
+5
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_export_action_js.xml
...em/web_page_module/officejs_notebook_export_action_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_preview_view_js.js
...Item/web_page_module/officejs_notebook_preview_view_js.js
+3
-7
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_preview_view_js.xml
...tem/web_page_module/officejs_notebook_preview_view_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_download_html_action_js.js
View file @
6172fa5c
...
@@ -22,7 +22,8 @@
...
@@ -22,7 +22,8 @@
div
.
innerHTML
=
head_inner_html
;
div
.
innerHTML
=
head_inner_html
;
script_list
=
div
.
getElementsByTagName
(
'
script
'
);
script_list
=
div
.
getElementsByTagName
(
'
script
'
);
i
=
script_list
.
length
;
i
=
script_list
.
length
;
while
(
i
--
)
{
while
(
i
>
0
)
{
i
-=
1
;
script_list
[
i
].
parentNode
.
removeChild
(
script_list
[
i
]);
script_list
[
i
].
parentNode
.
removeChild
(
script_list
[
i
]);
}
}
return
div
.
innerHTML
;
return
div
.
innerHTML
;
...
@@ -45,6 +46,7 @@
...
@@ -45,6 +46,7 @@
})
})
.
declareMethod
(
'
handleSubmit
'
,
function
(
content_dict
,
parent_options
)
{
.
declareMethod
(
'
handleSubmit
'
,
function
(
content_dict
,
parent_options
)
{
/*jslint unparam: true*/
var
gadget
=
this
,
var
gadget
=
this
,
notebook_html
,
notebook_html
,
return_submit_dict
=
{};
return_submit_dict
=
{};
...
@@ -94,5 +96,6 @@
...
@@ -94,5 +96,6 @@
});
});
});
});
});
});
/*jslint unparam: false*/
}(
window
,
document
,
rJS
,
RSVP
,
Blob
,
console
));
}(
window
,
document
,
rJS
,
RSVP
,
Blob
,
console
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_download_html_action_js.xml
View file @
6172fa5c
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
988.
12762.62453.43076
</string>
</value>
<value>
<string>
988.
23938.58913.40772
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1606
248876.05
</float>
<float>
1606
832980.12
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_export_action_js.js
View file @
6172fa5c
...
@@ -8,7 +8,8 @@
...
@@ -8,7 +8,8 @@
div
.
innerHTML
=
head_inner_html
;
div
.
innerHTML
=
head_inner_html
;
script_list
=
div
.
getElementsByTagName
(
'
script
'
);
script_list
=
div
.
getElementsByTagName
(
'
script
'
);
i
=
script_list
.
length
;
i
=
script_list
.
length
;
while
(
i
--
)
{
while
(
i
>
0
)
{
i
-=
1
;
script_list
[
i
].
parentNode
.
removeChild
(
script_list
[
i
]);
script_list
[
i
].
parentNode
.
removeChild
(
script_list
[
i
]);
}
}
return
div
.
innerHTML
;
return
div
.
innerHTML
;
...
@@ -38,8 +39,8 @@
...
@@ -38,8 +39,8 @@
})
})
.
declareMethod
(
'
handleSubmit
'
,
function
(
content_dict
,
parent_options
)
{
.
declareMethod
(
'
handleSubmit
'
,
function
(
content_dict
,
parent_options
)
{
var
gadget
=
this
,
/*jslint unparam: true*/
notebook_html
,
var
notebook_html
,
print_preview_window
,
print_preview_window
,
return_submit_dict
=
{};
return_submit_dict
=
{};
return_submit_dict
.
redirect
=
{
return_submit_dict
.
redirect
=
{
...
@@ -89,5 +90,6 @@
...
@@ -89,5 +90,6 @@
});
});
});
});
});
});
/*jslint unparam: false*/
}(
window
,
document
,
rJS
,
RSVP
,
console
));
}(
window
,
document
,
rJS
,
RSVP
,
console
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_export_action_js.xml
View file @
6172fa5c
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
988.
12760.40834.1109
</string>
</value>
<value>
<string>
988.
23905.19047.17868
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1606
248884.54
</float>
<float>
1606
833298.97
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_preview_view_js.js
View file @
6172fa5c
/*global window, rJS
, RSVP, Blob, jIO
*/
/*global window, rJS */
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
RSVP
,
Blob
,
jIO
)
{
(
function
(
window
,
rJS
)
{
"
use strict
"
;
"
use strict
"
;
rJS
(
window
)
rJS
(
window
)
...
@@ -29,10 +29,6 @@
...
@@ -29,10 +29,6 @@
};
};
return
document
;
return
document
;
});
});
})
.
declareMethod
(
'
handleSubmit
'
,
function
(
content_dict
,
parent_options
)
{
return
{};
});
});
}(
window
,
rJS
,
RSVP
,
Blob
,
jIO
));
}(
window
,
rJS
));
\ No newline at end of file
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_notebook_preview_view_js.xml
View file @
6172fa5c
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
7.39350.58944.42461
</string>
</value>
<value>
<string>
98
8.23920.19966.32136
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
160
4954142.0
</float>
<float>
160
6831725.23
</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