Commit fa804cb1 authored by Boris Kocherov's avatar Boris Kocherov

jslint fix

parent 463bbc9b
...@@ -1373,7 +1373,7 @@ ...@@ -1373,7 +1373,7 @@
if (input.hasAttribute('data-origin-value')) { if (input.hasAttribute('data-origin-value')) {
json_dict[input.name] = JSON.parse(input.getAttribute('data-origin-value')); json_dict[input.name] = JSON.parse(input.getAttribute('data-origin-value'));
} else { } else {
if (input.required || input.value !== "") { if (input.required || input.value !== "") {
var type = input.getAttribute('data-json-type'); var type = input.getAttribute('data-json-type');
if (input.tagName === "SELECT" && input.value) { if (input.tagName === "SELECT" && input.value) {
// selection used for enums // selection used for enums
...@@ -1458,7 +1458,7 @@ ...@@ -1458,7 +1458,7 @@
.push(function () { .push(function () {
return g.element.setAttribute('data-json-property-name', new_name); return g.element.setAttribute('data-json-property-name', new_name);
}) })
.push(undefined, function (error) { .push(undefined, function () {
// XXX notify user // XXX notify user
event.srcElement.value = name; event.srcElement.value = name;
event.srcElement.focus(); event.srcElement.focus();
...@@ -1579,7 +1579,7 @@ ...@@ -1579,7 +1579,7 @@
.declareAcquiredMethod("notifyInvalid", "notifyInvalid") .declareAcquiredMethod("notifyInvalid", "notifyInvalid")
.declareAcquiredMethod("checkValidity", "checkValidity") .declareAcquiredMethod("checkValidity", "checkValidity")
.allowPublicAcquisition("notifyValid", function (arr, sub_scope) { .allowPublicAcquisition("notifyValid", function () {
return true; return true;
}) })
.allowPublicAcquisition("notifyChange", function (arr, sub_scope) { .allowPublicAcquisition("notifyChange", function (arr, sub_scope) {
......
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