File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1566,7 +1566,7 @@ $.extend(Selectize.prototype, {
1566
1566
* "Selects" multiple items at once. Adds them to the list
1567
1567
* at the current caret position.
1568
1568
*
1569
- * @param {string } value
1569
+ * @param {string } values
1570
1570
* @param {boolean } silent
1571
1571
*/
1572
1572
addItems : function ( values , silent ) {
@@ -1766,15 +1766,15 @@ $.extend(Selectize.prototype, {
1766
1766
/**
1767
1767
* Re-renders the selected item lists.
1768
1768
*/
1769
- refreshItems : function ( ) {
1769
+ refreshItems : function ( silent ) {
1770
1770
this . lastQuery = null ;
1771
1771
1772
1772
if ( this . isSetup ) {
1773
- this . addItem ( this . items ) ;
1773
+ this . addItem ( this . items , silent ) ;
1774
1774
}
1775
1775
1776
1776
this . refreshState ( ) ;
1777
- this . updateOriginalInput ( ) ;
1777
+ this . updateOriginalInput ( { silent : silent } ) ;
1778
1778
} ,
1779
1779
1780
1780
/**
You can’t perform that action at this time.
0 commit comments