Update of /cvsroot/sandweb/sandweb/templates
In directory sc8-pr-cvs1:/tmp/cvs-serv2635/templates
Modified Files:
openwindow.js browse_module.html sandbox.html tool_bar.html
view_file.html
Log Message:
figured out why IE wasn't working with "update" in sandbox_menu ( it
seems to choke on the submit attribute in form tags, very strange ),
and I also was having trouble with the pop-up happening in other areas
of the site since the switchover to HREFs instead of <input>s.
I am removing popup_header and popup_footer, and instead doing it the
same way Nick did the update HREF in sandbox_menu, when I looked at
the two I realized the openwindow.js is _much_ clearer.
Index: openwindow.js
===================================================================
RCS file: /cvsroot/sandweb/sandweb/templates/openwindow.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -U2 -r1.2 -r1.3
--- openwindow.js 19 Mar 2002 06:11:15 -0000 1.2
+++ openwindow.js 13 Jan 2003 08:07:27 -0000 1.3
@@ -1,5 +1,5 @@
window.name = "mainWindow";
function myOpenWindow() {
- window.open('about:blank','popUp','width=620,height=400,scrollbars=yes,resizable=yes');
+ window.open('about:blank','popUp','width=640,height=480,scrollbars=yes,resizable=yes');
}
Index: browse_module.html
===================================================================
RCS file: /cvsroot/sandweb/sandweb/templates/browse_module.html,v
retrieving revision 1.27
retrieving revision 1.28
diff -U2 -r1.27 -r1.28
--- browse_module.html 16 Sep 2002 05:06:48 -0000 1.27
+++ browse_module.html 13 Jan 2003 08:07:27 -0000 1.28
@@ -75,3 +75,4 @@
</tr>
</table>
+</form>
<TMPL_VAR NAME="STATUS">
Index: sandbox.html
===================================================================
RCS file: /cvsroot/sandweb/sandweb/templates/sandbox.html,v
retrieving revision 1.23
retrieving revision 1.24
diff -U2 -r1.23 -r1.24
--- sandbox.html 5 Jan 2003 20:59:05 -0000 1.23
+++ sandbox.html 13 Jan 2003 08:07:27 -0000 1.24
@@ -48,5 +48,5 @@
</tr>
-<form submit="<TMPL_VAR NAME=PROGNAME>" name="sandbox" target="popUp">
+<form name="sandbox" target="popUp">
<input type="hidden" name="action" value="sandbox">
<input type="hidden" name="Submit" value="Update">
Index: tool_bar.html
===================================================================
RCS file: /cvsroot/sandweb/sandweb/templates/tool_bar.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -U2 -r1.15 -r1.16
--- tool_bar.html 6 Jan 2003 00:35:16 -0000 1.15
+++ tool_bar.html 13 Jan 2003 08:07:27 -0000 1.16
@@ -1,2 +1,3 @@
+ <form name="browse" onsubmit="myOpenWindow()" target="popUp">
<input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>">
<input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>">
@@ -24,5 +25,5 @@
</select>
- <a href="javascript:{document.browse.action.value='vcs';document.browse.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/go.png" alt="Go" title="Go" border="0"></a>
+ <a href="javascript:{onClick=myOpenWindow();document.browse.action.value='vcs';document.browse.submit()}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/go.png" alt="Go" title="Go" border="0"></a>
</td>
</tr>
Index: view_file.html
===================================================================
RCS file: /cvsroot/sandweb/sandweb/templates/view_file.html,v
retrieving revision 1.52
retrieving revision 1.53
diff -U2 -r1.52 -r1.53
--- view_file.html 16 Sep 2002 05:06:48 -0000 1.52
+++ view_file.html 13 Jan 2003 08:07:27 -0000 1.53
@@ -49,3 +49,3 @@
</tr>
</table>
-
+</form>
|