Add support for a frame target for redirect_on_finish URLs by request from

Elias.
This commit is contained in:
Michael Bayne
2008-04-03 23:56:13 +00:00
parent 98c4bc0925
commit 989b9942a8
@@ -129,7 +129,12 @@ public class GetdownApplet extends JApplet
Log.warning("URL in redirect_on_finish param is malformed: " + e); Log.warning("URL in redirect_on_finish param is malformed: " + e);
return; return;
} }
getAppletContext().showDocument(dest); String target = getParameter("redirect_on_finish_target");
if (target == null) {
getAppletContext().showDocument(dest);
} else {
getAppletContext().showDocument(dest, target);
}
} }
} }
}; };