Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rjs_json_form
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
Boris Kocherov
rjs_json_form
Commits
e86c27fb
Commit
e86c27fb
authored
Feb 23, 2018
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
not important cleanup
parent
f8b40a42
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
gadget_erp5_page_slap_load_schema.js
gadget_erp5_page_slap_load_schema.js
+1
-2
gadget_erp5_page_slap_parameter_form.html
gadget_erp5_page_slap_parameter_form.html
+3
-4
gadget_erp5_page_slap_parameter_form.js
gadget_erp5_page_slap_parameter_form.js
+0
-2
No files found.
gadget_erp5_page_slap_load_schema.js
View file @
e86c27fb
...
...
@@ -3,7 +3,6 @@
(
function
(
window
,
rJS
,
$
,
RSVP
)
{
"
use strict
"
;
var
gk
=
rJS
(
window
);
function
getJSON
(
url
)
{
var
protocol
=
URI
(
url
).
protocol
();
...
...
@@ -196,7 +195,7 @@
});
}
gk
rJS
(
window
)
.
declareMethod
(
"
loadJSONSchema
"
,
function
(
url
)
{
return
getJSON
(
url
)
.
push
(
function
(
json
)
{
...
...
gadget_erp5_page_slap_parameter_form.html
View file @
e86c27fb
...
...
@@ -25,10 +25,9 @@
</div>
<div
class=
"field"
title=
"serialisation_type"
>
<div
class=
"input"
>
<input
type=
hidden
name=
"serialisation_type"
class=
"slapos-serialisation-type"
></input
>
<input
type=
hidden
name=
"serialisation_type"
class=
"slapos-serialisation-type"
/
>
</div>
</div>
</div>
<div
class=
"field"
title=
"hide_show_button"
>
<div
class=
"input"
>
<button
type=
"button"
class=
"slapos-show-form hidden-button"
>
Show Parameter Form
</button>
...
...
@@ -39,8 +38,8 @@
<fieldset
id=
"parameter-main"
>
</fieldset>
<fieldset
id=
"parameter-optional"
>
</fieldset>
<fieldset
id=
"parameter-xml"
>
<input
type=
hidden
name=
"parameter_hash"
class=
"parameter_hash_output"
></input
>
<input
type=
hidden
name=
"shared"
class=
"parameter_shared"
></input
>
<input
type=
hidden
name=
"parameter_hash"
class=
"parameter_hash_output"
/
>
<input
type=
hidden
name=
"shared"
class=
"parameter_shared"
/
>
</fieldset>
</div>
<div
class=
"loadschema"
...
...
gadget_erp5_page_slap_parameter_form.js
View file @
e86c27fb
...
...
@@ -204,8 +204,6 @@
/* console.log(key); */
div_input
=
document
.
createElement
(
"
div
"
);
div_input
=
document
.
createElement
(
"
div
"
);
div_input
.
setAttribute
(
"
class
"
,
"
input
"
);
...
...
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