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) {
},
client: {
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'],
directives: {
maxlen: 79,
......
......@@ -21,10 +21,10 @@
Demo UI for JSON Scheme form generator
</h3>
</section>
<div data-gadget-url="../schema.gadget.html"
<div data-gadget-url="../jsonform.gadget.html"
data-gadget-scope="schema"
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-sandbox="public"></div>
<br>
......@@ -32,7 +32,7 @@
<div class="field_container">
<div class="left">
<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-sandbox="public">
</div>
......
......@@ -6,10 +6,10 @@
<title>ERP5</title>
<link rel="stylesheet" href="gadget_erp5_nojqm.css">
<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="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>
<body>
</body>
......
......@@ -528,7 +528,7 @@
return RSVP.Queue()
.push(function () {
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)})
.push(function (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