Permalink
Browse files

MINOR Placeholder text for adding a group in Member->getCMSFields() (…

…fixes #7217)
  • Loading branch information...
1 parent 0e8c3ac commit ffe698ca1eacf38ff518648aae422531449e52df @chillu chillu committed Apr 30, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 security/Member.php
View
@@ -1135,7 +1135,12 @@ public function getCMSFields() {
asort($groupsMap);
$fields->addFieldToTab('Root.Main',
ListboxField::create('DirectGroups', singleton('Group')->i18n_plural_name())
- ->setMultiple(true)->setSource($groupsMap)
+ ->setMultiple(true)
+ ->setSource($groupsMap)
+ ->setAttribute(
+ 'data-placeholder',
+ _t('Member.ADDGROUP', 'Add group', 'Placeholder text for a dropdown')
+ )
);
// Add permission field (readonly to avoid complicated group assignment logic).

0 comments on commit ffe698c

Please sign in to comment.