if (window.focus){helpWin.focus();}
return false;
}
-
-Ajax.Responders.register({
- onCreate: function(){
- if (Ajax.activeRequestCount > 0) {
- document.getElementById("loadingnotice").style.display = 'block';
- }
- },
- onComplete: function(){
- if (Ajax.activeRequestCount == 0) {
- document.getElementById("loadingnotice").style.display = 'none';
- }
- }
-});
-function replaceFunc(transport) {
- try {
- d = transport.responseText.evalJSON();
- } catch (e) {
- \$('body').innerHTML = '<pre>'+transport.responseText+'</pre>'
- return;
- }
- for(key in d) {
- \$(key).innerHTML = d[key];
- }
-}
-
-function jsFormSubmit(location, elt){
- new Ajax.Request(location, {method: 'post',
- parameters: Form.serialize(elt)+'&js=true',
- onSuccess: replaceFunc,
- onComplete: function() {Form.enable(elt);}
- });
- Form.disable(elt);
- return false;
-}
-
-function rowFormSubmit(elt, retpage){
- new Ajax.Request('command', {method: 'post',
- parameters: Form.serialize(elt)+'&js='+retpage,
- onSuccess: replaceFunc
- });
- return false;
-}
-
-window.onload = function (){
- //Fix bug with disabled elements
- \$\$('form').each(Form.enable);
-}
-
</script>
</head>
<body id="body">
+#if False
+<div>
+<p>We are in the process of modifying the service. Things likely will not work.</p>
+</div>
+#end if
+
<div id="err">
#if $varExists('error_text')
<p>STDERR:</p><pre>$error_text</pre>
</div>
#if not $varExists('simple') or not $simple
-<p>[You are logged in as $user.username.]</p>
+<p>[You are logged in as $user.]</p>
<div class="navigation">
<p><a href="list">List</a>
</div>
<div id="loadingnotice" class="loadingnotice">LOADING</div>
-<div id="result" class="result"></div>
+<div id="result" class="result">
+#if $varExists('result')
+$result
+#end if
+</div>
$body
#if not $varExists('simple') or not $simple