diff options
author | Merov Linden <merov@lindenlab.com> | 2010-12-10 16:06:33 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2010-12-10 16:06:33 -0800 |
commit | 8f5f68d1cc904e7774e20677237909940c63168d (patch) | |
tree | c4885fb52d3253eec4604a1c0ebdd5e236e586bc /indra/newview | |
parent | 0df07ea31afe72b2e30fc061b70b3205925b6107 (diff) |
STORM-524 : Fix update L$ balance when buying currency
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloaterbuycurrency.cpp | 9 | ||||
-rw-r--r-- | indra/newview/llfloaterbuycurrencyhtml.cpp | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/indra/newview/llfloaterbuycurrency.cpp b/indra/newview/llfloaterbuycurrency.cpp index 48b00a7964..e21a8594bc 100644 --- a/indra/newview/llfloaterbuycurrency.cpp +++ b/indra/newview/llfloaterbuycurrency.cpp @@ -261,26 +261,29 @@ void LLFloaterBuyCurrencyUI::updateUI() } getChildView("getting_data")->setVisible( !mManager.canBuy() && !hasError); - - // Update L$ balance - LLStatusBar::sendMoneyBalanceRequest(); } void LLFloaterBuyCurrencyUI::onClickBuy() { mManager.buy(getString("buy_currency")); updateUI(); + // Update L$ balance + LLStatusBar::sendMoneyBalanceRequest(); } void LLFloaterBuyCurrencyUI::onClickCancel() { closeFloater(); + // Update L$ balance + LLStatusBar::sendMoneyBalanceRequest(); } void LLFloaterBuyCurrencyUI::onClickErrorWeb() { LLWeb::loadURLExternal(mManager.errorURI()); closeFloater(); + // Update L$ balance + LLStatusBar::sendMoneyBalanceRequest(); } // static diff --git a/indra/newview/llfloaterbuycurrencyhtml.cpp b/indra/newview/llfloaterbuycurrencyhtml.cpp index e8050c4480..013cf74c7b 100644 --- a/indra/newview/llfloaterbuycurrencyhtml.cpp +++ b/indra/newview/llfloaterbuycurrencyhtml.cpp @@ -82,7 +82,7 @@ void LLFloaterBuyCurrencyHTML::navigateToFinalURL() LLStringUtil::format( buy_currency_url, replace ); // write final URL to debug console - llinfos << "Buy currency HTML prased URL is " << buy_currency_url << llendl; + llinfos << "Buy currency HTML parsed URL is " << buy_currency_url << llendl; // kick off the navigation mBrowser->navigateTo( buy_currency_url, "text/html" ); |