1
0
mirror of synced 2024-11-23 05:26:10 +03:00

fix initSelection with empty input value

This commit is contained in:
norlin 2013-03-22 10:14:39 +04:00
parent b6186164fe
commit c8cae0a6c9

View File

@ -1805,6 +1805,7 @@ the specific language governing permissions and limitations under the Apache Lic
initSelection: function () {
var selected;
if (this.opts.element.val() === "" && this.opts.element.text() === "") {
this.updateSelection([]);
this.close();
this.setPlaceholder();
} else {