Permalink
Browse files

Custom select: Update placeholder during _buildList(). Fixes #5275.

  • Loading branch information...
gabrielschulhof committed Nov 28, 2012
1 parent a6763f3 commit 42b8be4f5df6b15974f823146b464c8e92e00d7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/forms/select.custom.js
@@ -473,7 +473,7 @@ define( [
if ( o.hidePlaceholderMenuItems ) {
classes.push( "ui-selectmenu-placeholder" );
}
if (!placeholder) {
if ( placeholder !== text ) {
placeholder = self.placeholder = text;
}
}

0 comments on commit 42b8be4

Please sign in to comment.