| Index: polymer_1.2.3/bower_components/iron-selector/iron-multi-selectable.html
|
| diff --git a/polymer_1.0.4/bower_components/iron-selector/iron-multi-selectable.html b/polymer_1.2.3/bower_components/iron-selector/iron-multi-selectable.html
|
| similarity index 92%
|
| copy from polymer_1.0.4/bower_components/iron-selector/iron-multi-selectable.html
|
| copy to polymer_1.2.3/bower_components/iron-selector/iron-multi-selectable.html
|
| index ba9455ded233d8b00081e14c2bf00e16dab6959e..906e9204d739dc10c484a6e090c989afbdece8a3 100644
|
| --- a/polymer_1.0.4/bower_components/iron-selector/iron-multi-selectable.html
|
| +++ b/polymer_1.2.3/bower_components/iron-selector/iron-multi-selectable.html
|
| @@ -72,6 +72,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| this._selection.multi = multi;
|
| },
|
|
|
| + get _shouldUpdateSelection() {
|
| + return this.selected != null ||
|
| + (this.selectedValues != null && this.selectedValues.length);
|
| + },
|
| +
|
| _updateSelected: function() {
|
| if (this.multi) {
|
| this._selectMulti(this.selectedValues);
|
| @@ -103,9 +108,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| var i = this.selectedValues.indexOf(value);
|
| var unselected = i < 0;
|
| if (unselected) {
|
| - this.selectedValues.push(value);
|
| + this.push('selectedValues',value);
|
| } else {
|
| - this.selectedValues.splice(i, 1);
|
| + this.splice('selectedValues',i,1);
|
| }
|
| this._selection.setItemSelected(this._valueToItem(value), unselected);
|
| }
|
|
|