armen_asriyan (armen_asriyan) wrote in changelog,
armen_asriyan
armen_asriyan
changelog

[livejournal] r22806: LJSUP-13524: Wrong errors handling while...

Committer: aasriyan
LJSUP-13524: Wrong errors handling while trava.ru interconnecting.

U   trunk/htdocs/js/settings.js
Modified: trunk/htdocs/js/settings.js
===================================================================
--- trunk/htdocs/js/settings.js	2012-09-04 13:24:38 UTC (rev 22805)
+++ trunk/htdocs/js/settings.js	2012-09-04 13:26:43 UTC (rev 22806)
@@ -128,7 +128,7 @@
 			}
 		})
 		.bind('travauserinfo', function (evt, data) {
-			if (data) {
+			if (data && data.user) {
 				userName.html(data.user.name || data.user.nickname);
 			}
 	});

Tags: aasriyan, armen_asriyan, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments