Fix visualization. Auto refresh preview on input change.
This commit is contained in:
parent
de30b34e67
commit
81e8e4c2f6
@ -24,6 +24,9 @@
|
|||||||
<td><label for="$column-separator-custom" id="or-import-custom"></label>
|
<td><label for="$column-separator-custom" id="or-import-custom"></label>
|
||||||
<input bind="columnSeparatorInput" type="text" class="lightweight" size="5" /></td></tr>
|
<input bind="columnSeparatorInput" type="text" class="lightweight" size="5" /></td></tr>
|
||||||
<tr><td colspan="2" id="or-import-escape"></td></tr>
|
<tr><td colspan="2" id="or-import-escape"></td></tr>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<table>
|
||||||
<tr><td colspan="2" id="or-import-columnNames"></td></tr>
|
<tr><td colspan="2" id="or-import-columnNames"></td></tr>
|
||||||
<tr><td><input style="width: 33em;" bind="columnNamesInput" /></td><td id="or-import-optional"></td></tr>
|
<tr><td><input style="width: 33em;" bind="columnNamesInput" /></td><td id="or-import-optional"></td></tr>
|
||||||
</table></div></td>
|
</table></div></td>
|
||||||
|
@ -227,6 +227,7 @@ Refine.SeparatorBasedParserUI.prototype._initialize = function() {
|
|||||||
};
|
};
|
||||||
this._optionContainer.find("input").bind("change", onChange);
|
this._optionContainer.find("input").bind("change", onChange);
|
||||||
this._optionContainer.find("select").bind("change", onChange);
|
this._optionContainer.find("select").bind("change", onChange);
|
||||||
|
this._optionContainerElmts.columnNamesInput.bind("keyup",onChange);
|
||||||
};
|
};
|
||||||
|
|
||||||
Refine.SeparatorBasedParserUI.prototype._scheduleUpdatePreview = function() {
|
Refine.SeparatorBasedParserUI.prototype._scheduleUpdatePreview = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user