Commit 4b800469 authored by Boris Kocherov's avatar Boris Kocherov

rename schema_editor to jsonform

parent 7af5689d
...@@ -66,7 +66,7 @@ module.exports = function (grunt) { ...@@ -66,7 +66,7 @@ module.exports = function (grunt) {
}, },
client: { client: {
src: ['schema.gadget.js', src: ['schema.gadget.js',
'schema_editor/gadget_json_generated_form_child.js', 'jsonform/gadget_json_generated_form_child.js',
'demo/gadget_demo_json_schema_form.js'], 'demo/gadget_demo_json_schema_form.js'],
directives: { directives: {
maxlen: 79, maxlen: 79,
......
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
Demo UI for JSON Scheme form generator Demo UI for JSON Scheme form generator
</h3> </h3>
</section> </section>
<div data-gadget-url="../schema.gadget.html" <div data-gadget-url="../jsonform.gadget.html"
data-gadget-scope="schema" data-gadget-scope="schema"
data-gadget-sandbox="public"></div> data-gadget-sandbox="public"></div>
<div data-gadget-url="../schema.gadget.html" <div data-gadget-url="../jsonform.gadget.html"
data-gadget-scope="document" data-gadget-scope="document"
data-gadget-sandbox="public"></div> data-gadget-sandbox="public"></div>
<br> <br>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div class="field_container"> <div class="field_container">
<div class="left"> <div class="left">
<div class="ui-field-contain"> <div class="ui-field-contain">
<div data-gadget-url="../schema.gadget.html" <div data-gadget-url="../jsonform.gadget.html"
data-gadget-scope="form_view" data-gadget-scope="form_view"
data-gadget-sandbox="public"> data-gadget-sandbox="public">
</div> </div>
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
<title>ERP5</title> <title>ERP5</title>
<link rel="stylesheet" href="gadget_erp5_nojqm.css"> <link rel="stylesheet" href="gadget_erp5_nojqm.css">
<script src="rsvp.js" type="text/javascript"></script> <script src="rsvp.js" type="text/javascript"></script>
<script src="schema_editor/tv4.js" type="text/javascript"></script> <script src="jsonform/tv4.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script> <script src="renderjs.js" type="text/javascript"></script>
<script src="jio.js" type="text/javascript"></script> <script src="jio.js" type="text/javascript"></script>
<script src="schema.gadget.js" type="text/javascript"></script> <script src="jsonform.gadget.js" type="text/javascript"></script>
</head> </head>
<body> <body>
</body> </body>
......
...@@ -528,7 +528,7 @@ ...@@ -528,7 +528,7 @@
return RSVP.Queue() return RSVP.Queue()
.push(function () { .push(function () {
if (!g.props.form_gadget) { if (!g.props.form_gadget) {
return g.declareGadget('schema_editor/gadget_json_generated_form_child.html', return g.declareGadget('jsonform/gadget_json_generated_form_child.html',
{scope: "j" + Math.random().toString(36).substr(2, 9)}) {scope: "j" + Math.random().toString(36).substr(2, 9)})
.push(function (json_form_child) { .push(function (json_form_child) {
g.props.form_gadget = json_form_child; g.props.form_gadget = json_form_child;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment