branch | 3.26 |
changeset 12424 | f0a5c2fa2b5d |
parent 11057 | 0b59724cb3f2 |
--- a/cubicweb/web/data/cubicweb.widgets.js Wed Jun 06 18:37:16 2018 +0200 +++ b/cubicweb/web/data/cubicweb.widgets.js Wed Jun 06 18:54:24 2018 +0200 @@ -151,7 +151,7 @@ */ var settings = $(this.element).data('settings'); var value = this.valueMethod.apply( this.element, arguments ); - if (settings.multiple & arguments.length === 0) { + if (settings.multiple && arguments.length === 0) { return extractLast(value); } return value