From 91c4292a8063dd2d7a27e7629c015faa4bf052d6 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Wed, 5 Jul 2006 01:43:07 +0000
Subject: Upate TClientScript

---
 .../FunctionalTests/features/protected/pages/ClientScripTest.page | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'tests')

diff --git a/tests/FunctionalTests/features/protected/pages/ClientScripTest.page b/tests/FunctionalTests/features/protected/pages/ClientScripTest.page
index 8dbf7133..d5b6e182 100644
--- a/tests/FunctionalTests/features/protected/pages/ClientScripTest.page
+++ b/tests/FunctionalTests/features/protected/pages/ClientScripTest.page
@@ -1,13 +1,13 @@
 <com:TContent ID="Content">
 	<h1>ClientScript Test</h1>
 	
-	<com:TClientScript ScriptUrl=<%~ test.js %> ScriptPosition="Head">
+	<com:TClientScript ScriptUrl=<%~ test.js %>>
 		if(typeof(ClientScriptInfo) == "undefined")
 			ClientScriptInfo = [];
 		ClientScriptInfo.push("ok 3?")
 	</com:TClientScript>
 		
-	<com:TClientScript ScriptPosition="Begin">
+	<com:TClientScript>
 		if(typeof(ClientScriptInfo) == "undefined")
 			ClientScriptInfo = [];
 		ClientScriptInfo.push("ok 2!")
@@ -16,12 +16,12 @@
 	<com:TLabel ID="label1" Text="Label 1" />
 	<input type="button" id="button1" value="update" />
 	
-	<com:TClientScript ScriptPosition="End" UsingPradoScripts="prado">
+	<com:TClientScript UsingPradoScripts="prado">
 		Event.observe("button1", "click", function()
 		{
 			element = $("<%= $this->label1->ClientID %>");
 			if(element)
-				element.innerHTML = inspect(ClientScriptInfo);
+				element.innerHTML = "Label 1: "+inspect(ClientScriptInfo);
 			else
 				alert("failed");
 		});
-- 
cgit v1.2.3