cubicweb/web/data/cubicweb.widgets.js
branch3.26
changeset 12424 f0a5c2fa2b5d
parent 11057 0b59724cb3f2
equal deleted inserted replaced
12423:807fd315ac98 12424:f0a5c2fa2b5d
   149                toto, titi, tu....  The autocompletion must be
   149                toto, titi, tu....  The autocompletion must be
   150                performed only on the last of such a list of terms.
   150                performed only on the last of such a list of terms.
   151               */
   151               */
   152             var settings = $(this.element).data('settings');
   152             var settings = $(this.element).data('settings');
   153             var value = this.valueMethod.apply( this.element, arguments );
   153             var value = this.valueMethod.apply( this.element, arguments );
   154             if (settings.multiple & arguments.length === 0) {
   154             if (settings.multiple && arguments.length === 0) {
   155                 return extractLast(value);
   155                 return extractLast(value);
   156             }
   156             }
   157             return value
   157             return value
   158         },
   158         },
   159 
   159