fixed a goof involving getStockMessage being called on the wrong object

This commit is contained in:
Eric J. Bowersox
2004-04-17 04:09:32 +00:00
parent 2a0b87bc84
commit 7008993545
2 changed files with 12 additions and 7 deletions

View File

@@ -10,7 +10,7 @@
//
// The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
// for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
// Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
// Copyright (C) 2001-04 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
//
// Contributor(s):
@@ -40,9 +40,7 @@ rinput.displayLogin = false;
html = vlib.queryHTMLRendering(rinput);
rc = new TextMessage(html.getStockMessage("user-agreement-title"),
html.getStockMessage("user-agreement-subtitle"));
rc.text = rinput.getStockMessage("user-agreement");
rc.text = html.getStockMessage("user-agreement");
rc.addButton(LinkTypes.SERVLET,"new_account_2.js.vs?tgt=" + vlib.encodeURL(target),"ua_accept");
rc.addButton(LinkTypes.SERVLET,"top.js.vs","ua_decline");
vlib.output(rc);