[Rt-commit] rt branch, 4.2/config-in-js, updated. rt-4.0.7-325-g256d34e

Thomas Sibley trs at bestpractical.com
Mon Nov 26 15:25:21 EST 2012


The branch, 4.2/config-in-js has been updated
       via  256d34ecd9639507200d274987e723cec832b323 (commit)
      from  667ae3661d7a1fadf7048d25c669917e5bcbd476 (commit)

Summary of changes:
 share/html/Elements/JavascriptConfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 256d34ecd9639507200d274987e723cec832b323
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Nov 26 12:24:02 2012 -0800

    Include Real Name in the JS CurrentUser info

diff --git a/share/html/Elements/JavascriptConfig b/share/html/Elements/JavascriptConfig
index 0fc3d51..f7cbf87 100644
--- a/share/html/Elements/JavascriptConfig
+++ b/share/html/Elements/JavascriptConfig
@@ -6,7 +6,7 @@ $Config->{$_} = RT->Config->Get( $_, $session{CurrentUser} )
 my $CurrentUser = {};
 if ($session{CurrentUser} and $session{CurrentUser}->id) {
     $CurrentUser->{$_} = $session{CurrentUser}->$_
-      for qw(id Name EmailAddress);
+      for qw(id Name EmailAddress RealName);
 
     $CurrentUser->{Privileged} = $session{CurrentUser}->Privileged
         ? JSON::true : JSON::false;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list