summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl')
-rw-r--r--emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl b/emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl
new file mode 100644
index 0000000..51164a8
--- /dev/null
+++ b/emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl
@@ -0,0 +1,18 @@
+<script language="javascript" type="text/javascript">
+//<!--
+{literal}
+$('account').observe("change", function(event) {should_get_account_data(
+'first', 'acct' );});
+$('desc').observe("change", function(event) {should_get_account_data(
+'first', 'name' );});
+{/literal}
+{if $autocomplete}
+{literal}
+document.observe("dom:loaded", function(event)
+{auto_complete_customers('first', 'acct');});
+document.observe("dom:loaded", function(event)
+{auto_complete_customers('first', 'name');});
+{/literal}
+{/if}
+//-->
+</script>