Skip to content

Commit e48474c

Browse files
committed
update
1 parent 99f6934 commit e48474c

File tree

6 files changed

+16
-14
lines changed

6 files changed

+16
-14
lines changed

dist/js/brutusin-json-forms-bootstrap.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ if (("undefined" === typeof $ || "undefined" === typeof $.fn || "undefined" ===
137137
var table = document.createElement("table");
138138
var tr = document.createElement("tr");
139139
var td1 = document.createElement("td");
140-
td1.setAttribute("style", "width:100%");
140+
td1.setAttribute("style", "width:100%;border:none;margin:0");
141141
table.appendChild(tr);
142142
tr.appendChild(td1);
143143
parent.removeChild(element);
@@ -147,7 +147,6 @@ if (("undefined" === typeof $ || "undefined" === typeof $.fn || "undefined" ===
147147
tr.appendChild(td);
148148
var searchButton = document.createElement("button");
149149
searchButton.className = "btn btn-default glyphicon " + glyphicon;
150-
searchButton.title = "Select file";
151150
searchButton.onclick = function () {
152151
cb(element);
153152
};

dist/js/brutusin-json-forms-bootstrap.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/brutusin-json-forms.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ if (typeof brutusin === "undefined") {
268268
} else {
269269
data = value;
270270
}
271-
onDependecyChanged(schemaId, input);
271+
onDependencyChanged(schemaId, input);
272272
};
273273

274274
if (s.description) {
@@ -307,7 +307,7 @@ if (typeof brutusin === "undefined") {
307307
} else {
308308
data = getValue(s, input);
309309
}
310-
onDependecyChanged(schemaId, input);
310+
onDependencyChanged(schemaId, input);
311311
};
312312
if (value === true) {
313313
input.checked = true;
@@ -320,6 +320,7 @@ if (typeof brutusin === "undefined") {
320320
input.onchange();
321321
appendChild(container, input, s);
322322
};
323+
323324
renderers["oneOf"] = function (container, id, parentObject, propertyProvider, value) {
324325
var schemaId = getSchemaId(id);
325326
var s = getSchema(schemaId);
@@ -346,6 +347,7 @@ if (typeof brutusin === "undefined") {
346347
appendChild(container, input, s);
347348
appendChild(container, display, s);
348349
};
350+
349351
renderers["object"] = function (container, id, parentObject, propertyProvider, value) {
350352

351353
function createStaticPropertyProvider(propname) {
@@ -641,7 +643,7 @@ if (typeof brutusin === "undefined") {
641643
}
642644
rendered = true;
643645
if (dependencyMap.hasOwnProperty("$")) {
644-
onDependecyChanged("$");
646+
onDependencyChanged("$");
645647
}
646648
if (BrutusinForms.postRender) {
647649
BrutusinForms.postRender(obj);
@@ -966,7 +968,7 @@ if (typeof brutusin === "undefined") {
966968
return schemaMap[schemaId];
967969
}
968970

969-
function onDependecyChanged(name, source) {
971+
function onDependencyChanged(name, source) {
970972
function cleanSchemaMap(schemaId) {
971973
for (var prop in schemaMap) {
972974
if (schemaId.startsWith(prop)) {

0 commit comments

Comments
 (0)