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/FunctionalTests') 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 @@

ClientScript Test

- ScriptPosition="Head"> + > if(typeof(ClientScriptInfo) == "undefined") ClientScriptInfo = []; ClientScriptInfo.push("ok 3?") - + if(typeof(ClientScriptInfo) == "undefined") ClientScriptInfo = []; ClientScriptInfo.push("ok 2!") @@ -16,12 +16,12 @@ - + 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