Commit 46063735 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Improved the way the help window is opened

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2689 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4854a36f
......@@ -44,12 +44,9 @@
if (helpPage == null && request.getAttribute("jive.helpPage") != null) {
helpPage = request.getAttribute("jive.helpPage").toString();
}
if (helpPage == null) {
helpPage = "index.htm";
}
%>
window.open('/help/<%= helpPage %>','helpWindow',
'width=750,height=550,menubar=yes,location=no,personalbar=no,scrollbars=yes,resize=yes');
window.open('<%= request.getContextPath() %>/help/index.htm<%= (helpPage != null ? "#"+helpPage : "") %>',
'helpWindow','width=750,height=550,menubar=yes,location=no,personalbar=no,scrollbars=yes,resize=yes');
}
//-->
</script>
......@@ -69,7 +66,7 @@
<tr>
<td>
<a href="#" onclick="helpwin();return false;"
><img src="/images/header-help.gif" width="24" height="24" border="0" alt="Click for help" hspace="10"></a>
><img src="images/header-help.gif" width="24" height="24" border="0" alt="Click for help" hspace="10"></a>
&nbsp;
</td>
<td class="info">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment