summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/ClientScripTest.page
diff options
context:
space:
mode:
authorxue <>2006-07-07 14:54:15 +0000
committerxue <>2006-07-07 14:54:15 +0000
commit61bb16ee2e5f0a66234e1575242169a10fde47b5 (patch)
tree3ee24dcc36ceae2c213130df1ea3d5c9fc110a27 /tests/FunctionalTests/features/protected/pages/ClientScripTest.page
parent7b84938b1b5964f2274d66e28ba17435924ffe35 (diff)
Merge from 3.0 branch till 1253.
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/ClientScripTest.page')
-rw-r--r--tests/FunctionalTests/features/protected/pages/ClientScripTest.page30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/ClientScripTest.page b/tests/FunctionalTests/features/protected/pages/ClientScripTest.page
deleted file mode 100644
index 8dbf7133..00000000
--- a/tests/FunctionalTests/features/protected/pages/ClientScripTest.page
+++ /dev/null
@@ -1,30 +0,0 @@
-<com:TContent ID="Content">
- <h1>ClientScript Test</h1>
-
- <com:TClientScript ScriptUrl=<%~ test.js %> ScriptPosition="Head">
- if(typeof(ClientScriptInfo) == "undefined")
- ClientScriptInfo = [];
- ClientScriptInfo.push("ok 3?")
- </com:TClientScript>
-
- <com:TClientScript ScriptPosition="Begin">
- if(typeof(ClientScriptInfo) == "undefined")
- ClientScriptInfo = [];
- ClientScriptInfo.push("ok 2!")
- </com:TClientScript>
-
- <com:TLabel ID="label1" Text="Label 1" />
- <input type="button" id="button1" value="update" />
-
- <com:TClientScript ScriptPosition="End" UsingPradoScripts="prado">
- Event.observe("button1", "click", function()
- {
- element = $("<%= $this->label1->ClientID %>");
- if(element)
- element.innerHTML = inspect(ClientScriptInfo);
- else
- alert("failed");
- });
- </com:TClientScript>
-
-</com:TContent> \ No newline at end of file