Permalink
Browse files

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

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

0 comments on commit a1abaf8

Please sign in to comment.