1
0
mirror of synced 2024-11-25 14:26:03 +03:00

Fix focus issue when select-input has placeholder

This commit is contained in:
Dawn Hammond 2014-04-28 14:15:50 -05:00
parent 00a019b227
commit e3751422f0

View File

@ -2637,6 +2637,7 @@ the specific language governing permissions and limitations under the Apache Lic
.attr('for', this.search.attr('id')); .attr('for', this.search.attr('id'));
this.search.on("input paste", this.bind(function() { this.search.on("input paste", this.bind(function() {
if (this.search.attr('placeholder') && !this.search.val()) return;
if (!this.isInterfaceEnabled()) return; if (!this.isInterfaceEnabled()) return;
if (!this.opened()) { if (!this.opened()) {
this.open(); this.open();