summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorDavid Reagan <reagand@lanecc.edu>2013-04-23 14:31:35 -0700
committerDavid Reagan <reagand@lanecc.edu>2013-04-23 14:31:35 -0700
commit4bee02f75cdd73c1f95f5d84ba8143ec812f1315 (patch)
treeb24f9cf858045d50a96b5c01abf89d3498584485 /settings
parent7312cbec91e5e034c771ad7a473c744169d449c8 (diff)
downloadnextcloud-server-4bee02f75cdd73c1f95f5d84ba8143ec812f1315.tar.gz
nextcloud-server-4bee02f75cdd73c1f95f5d84ba8143ec812f1315.zip
Fixed comment in personal.js. Changed message text in changedisplayname.php.
Diffstat (limited to 'settings')
-rw-r--r--settings/ajax/changedisplayname.php2
-rw-r--r--settings/js/personal.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/changedisplayname.php b/settings/ajax/changedisplayname.php
index dea07aad14c..faf962fbdd7 100644
--- a/settings/ajax/changedisplayname.php
+++ b/settings/ajax/changedisplayname.php
@@ -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) )));
diff --git a/settings/js/personal.js b/settings/js/personal.js
index cdea7d75a90..3ab811356c0 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -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() !== '' ) {