1
0
mirror of synced 2024-11-22 21:16:10 +03:00

fix triggering of unwated change. #824

This commit is contained in:
Igor Vaynberg 2013-02-08 09:49:44 -08:00
parent 0a201b07a5
commit d04d127cab

View File

@ -1855,7 +1855,9 @@ the specific language governing permissions and limitations under the Apache Lic
self.opts.element.val(!data ? "" : self.id(data));
self.updateSelection(data);
self.setPlaceholder();
self.triggerChange();
if (triggerChange) {
self.triggerChange();
}
});
}
},