Skip to content

Commit

Permalink
[JENKINS-22316] Revert and update the comment explaining the behavior…
Browse files Browse the repository at this point in the history
… for the incomplete input

Also fixed an existing comment not to use Japanese text.
  • Loading branch information
ikedam committed Feb 11, 2018
1 parent df76f1c commit 1f7ec3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -46,7 +46,7 @@ THE SOFTWARE.
</st:attribute>
</st:documentation>
<j:scope>
<j:set var="attrs" value="${attrs}" /> <!-- prepareDatabinding のために必要 -->
<j:set var="attrs" value="${attrs}" /> <!-- Required for prepareDatabinding -->
<j:set var="defValue" value="${attrs.value ?: instance[attrs.field]}" />
<f:prepareDatabinding/>

Expand Down
Expand Up @@ -50,9 +50,9 @@ Behaviour.register({"SELECT.staticCombobox": function(e) {
orig.parentNode.removeChild(orig);

/*
* Changes from the original 4:
* Original behavior: Show all the candidates, not concerning with the current incomplete input.
* Changed behavior : Show candidates that matches the current incomplete input.
* Changes from the original 3:
* Original behavior: Show candidates that start with the current incomplete input.
* Changed behavior : Show candidates that contain the current incomplete input.
*/
var c = new ComboBox(e,function(value) {
return items.filter(function (item) {
Expand Down

0 comments on commit 1f7ec3a

Please sign in to comment.