Commit 884247aa authored by Jérome Perrin's avatar Jérome Perrin

expandablefield: jslint fixes

parent 5dac383e
......@@ -204,14 +204,6 @@
}
}
function handleSelectChange() {
try {
return _handleSelectChange.bind(this)();
} catch (e) {
console.log("ERROR in handleSelectChange", e);
console.log(e.stack);
}
}
function _handleSelectChange() { //evt) {
console.log("UPDATING FIELDS DUE TO SELECTION CHANGE");
var gadget = this, oneOf_list, i,
......@@ -247,6 +239,15 @@
syncField(gadget);
}
function handleSelectChange() {
try {
return _handleSelectChange.bind(this)();
} catch (e) {
console.log("ERROR in handleSelectChange", e);
console.log(e.stack);
}
}
function waitForListFieldSelection(gadget) {
var element = gadget.props.element.getElementsByTagName('select')[0];
console.log("INITIATING A LOOP EVENT LISTENER FOR OPTION CHANGE");
......
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