[interchange-cvs] interchange - heins modified dist/lib/UI/pages/include/templates/ui_type1
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Fri Feb 7 11:37:00 2003
User: heins
Date: 2003-02-07 16:36:28 GMT
Modified: dist/lib/UI/pages/include/templates ui_type1
Log:
* Allow multiple help window destinations.
Revision Changes Path
1.2 +5 -2 interchange/dist/lib/UI/pages/include/templates/ui_type1
rev 1.2, prev_rev 1.1
Index: ui_type1
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/include/templates/ui_type1,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ui_type1 14 Jan 2003 02:25:53 -0000 1.1
+++ ui_type1 7 Feb 2003 16:36:28 -0000 1.2
@@ -5,11 +5,14 @@
[tmp window_name][tag time]%m%d%H%M%S[/tag][/tmp]
<script language="JavaScript">
<!--
-function open_help(url) {
+function open_help(url,dest) {
if(url == undefined)
url = '[area href="[either]@_UI_HELP_URL_@[or]@_UI_BASE_@/help[/either]" form="topic=[scratch help_name]"]';
opts="top=0,left=0,scrollbars,status=no,menubar=no,location=yes,toolbar=no,resizable=yes,fullsize=no,width=__UI_HELP_WIDTH__,height=__UI_HELP_HEIGHT__";
- window.open(url, 'Help', opts);
+ var dest;
+ if(dest == undefined)
+ dest = 'Help';
+ window.open(url, dest, opts);
}
function checkAll(form,what,uncheck) {
var i, n, check;