Add support for a frame target for redirect_on_finish URLs by request from
Elias.
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user