Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Custom select: Update placeholder during _buildList(). Fixes #5275.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Nov 28, 2012
1 parent a6763f3 commit 42b8be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/forms/select.custom.js
Expand Up @@ -473,7 +473,7 @@ define( [
if ( o.hidePlaceholderMenuItems ) {
classes.push( "ui-selectmenu-placeholder" );
}
if (!placeholder) {
if ( placeholder !== text ) {
placeholder = self.placeholder = text;
}
}
Expand Down

0 comments on commit 42b8be4

Please sign in to comment.