Fixed comment in personal.js. Changed message text in changedisplayname.php.
This commit is contained in:
parent
7312cbec91
commit
4bee02f75c
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ if(is_null($userstatus)) {
|
|||
|
||||
// Return Success story
|
||||
if( OC_User::setDisplayName( $username, $displayName )) {
|
||||
OC_JSON::success(array("data" => array( "message" => $l->t('Your display name was changed'), "username" => $username, 'displayName' => $displayName )));
|
||||
OC_JSON::success(array("data" => array( "message" => $l->t('Your display name has been changed.'), "username" => $username, 'displayName' => $displayName )));
|
||||
}
|
||||
else{
|
||||
OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change display name"), 'displayName' => OC_User::getDisplayName($username) )));
|
||||
|
|
|
@ -21,7 +21,7 @@ function changeEmailAddress(){
|
|||
}
|
||||
|
||||
/**
|
||||
* Post the email address change to the server.
|
||||
* Post the display name change to the server.
|
||||
*/
|
||||
function changeDisplayName(){
|
||||
if ($('#displayName').val() !== '' ) {
|
||||
|
|
Loading…
Reference in a new issue