Fix a javascript bug
git-svn-id: file:///home/svn/framework3/trunk@5071 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
dbf2df3ec4
commit
5f591d1f16
|
@ -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 %>
|
||||
|
|
Loading…
Reference in New Issue