Change whitelist invite form's add new item control to be consistent with similar controls elsewhere

This commit is contained in:
Zach Copley 2011-05-11 14:33:22 -07:00
parent 37cf7c0e8c
commit 04a593487a

View File

@ -141,7 +141,7 @@ class WhitelistInviteForm extends Form
'a', 'a',
array( array(
'class' => 'remove_row', 'class' => 'remove_row',
'href' => 'javascript://', 'href' => 'javascript://',
), ),
'-' '-'
); );
@ -150,21 +150,12 @@ class WhitelistInviteForm extends Form
'a', 'a',
array( array(
'class' => 'add_row', 'class' => 'add_row',
'href' => 'javascript://', 'href' => 'javascript://',
), ),
'+' _m('Add another item')
); );
} }
function getUsersDomain()
{
$user = common_current_user();
assert(!empty($user));
}
/** /**
* Action elements * Action elements
* *