Commit 36b44b34 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Focus the new window

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2690 b35dd754-fafc-0310-a699-88a17e54d16e
parent 46063735
...@@ -45,8 +45,9 @@ ...@@ -45,8 +45,9 @@
helpPage = request.getAttribute("jive.helpPage").toString(); helpPage = request.getAttribute("jive.helpPage").toString();
} }
%> %>
window.open('<%= request.getContextPath() %>/help/index.htm<%= (helpPage != null ? "#"+helpPage : "") %>', var newwin = 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'); 'helpWindow','width=750,height=550,menubar=yes,location=no,personalbar=no,scrollbars=yes,resize=yes');
newwin.focus();
} }
//--> //-->
</script> </script>
......
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