Speed up input of separator characters (fix #2130)

This commit is contained in:
Katrin Leinweber 2019-08-31 06:50:34 +02:00
parent 200d11cbef
commit abe4137ae5
4 changed files with 4 additions and 4 deletions

View File

@ -305,7 +305,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
var level = DialogSystem.showDialog(frame);
var dismiss = function() { DialogSystem.dismissUntil(level - 1); };
elmts.getElementById("separatorInput").focus();
elmts.separatorInput.focus().select();
elmts.cancelButton.click(dismiss);
elmts.okButton.click(function() {

View File

@ -278,7 +278,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
var level = DialogSystem.showDialog(frame);
var dismiss = function() { DialogSystem.dismissUntil(level - 1); };
elmts.getElementById("separatorInput").focus();
elmts.separatorInput.focus().select();
elmts.cancelButton.click(dismiss);
elmts.okButton.click(function() {

View File

@ -14,7 +14,7 @@
</tr>
<tr><td></td>
<td bind="or_views_separator"></td>
<td><input size="10" value="," bind="separatorInput" id="separatorInput" />
<td><input size="10" value="," bind="separatorInput" />
<input type="checkbox" bind="regexInput" id="$split-column-regex" />
<label for="$split-column-regex" bind="or_views_regExp"></label></td>
</tr>

View File

@ -14,7 +14,7 @@
</tr>
<tr><td></td>
<td bind="or_views_separator"></td>
<td><input size="10" value="," bind="separatorInput" id="separatorInput" />
<td><input size="10" value="," bind="separatorInput" />
<input type="checkbox" bind="regexInput" id="$split-column-regex" />
<label for="$split-multi-valued-cells-regex" bind="or_views_regExp"></label></td>
</tr>