Fix a javascript bug

git-svn-id: file:///home/svn/framework3/trunk@5071 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2007-08-08 22:24:53 +00:00
parent dbf2df3ec4
commit 5f591d1f16
1 changed files with 3 additions and 1 deletions

View File

@ -64,7 +64,7 @@
<tr>
<td width="100%" class="moduleError" colspan="2">
Exploit launched. If the exploit console window does not appear, please click
<a href="#" onclick="window.parent.openConsoleWindowExploit(<%= @exploit_console %>);">here</a>.
<a href="#" onclick="javascript:window.parent.openConsoleWindowExploit(<%= @exploit_console %>);">here</a>.
</td>
</tr>
@ -249,11 +249,13 @@
</form>
<% if @exploit_console %>
<script>
<% if params[:consoleOpen] and params[:consoleOpen] == "direct" %>
window.location="/console/index/<%= @exploit_console %>"
<% else %>
window.parent.openConsoleWindowExploit(<%= @exploit_console %>);
<% end %>
</script>
<% end %>
<% end %>