Permalink
Browse files

[JENKINS-22316] Revert and update the comment explaining the behavior…

… 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 1f7ec3a4e3658a60eb55de87a5d233f5327bfc65
@@ -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/>

@@ -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) {

0 comments on commit 1f7ec3a

Please sign in to comment.