can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r19200: OPSC-340: Dynamically update user's LJ W...

Committer: dpetrov
OPSC-340: Dynamically update user's LJ Wallet balance at the top of the page when it changed
U   trunk/htdocs/js/livejournal.js
Modified: trunk/htdocs/js/livejournal.js
===================================================================
--- trunk/htdocs/js/livejournal.js	2011-06-02 08:22:38 UTC (rev 19199)
+++ trunk/htdocs/js/livejournal.js	2011-06-02 08:43:29 UTC (rev 19200)
@@ -86,7 +86,7 @@
 			var balance = $("LJ_Wallet_Balance");
 			if( balance ) {
 				if( resp.balance ) {
-					balance.innerHTML = balance.innerHTML.replace( /\d+/, resp.balance );
+					balance.innerHTML = balance.innerHTML.replace( /\d+/, newBalance );
 				} else {
 					balance.innerHTML = "";
 				}

Tags: can3p, 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