Skip to content
Snippets Groups Projects
Commit 4b250655 authored by Will's avatar Will
Browse files

XNAT-4288: Route popup to an auto-closing response window. (Hack hack hack!)

parent 7f902518
No related branches found
No related tags found
No related merge requests found
#set ($template = $data.getTemplateInfo())
$!template.setLayoutTemplate("ScreenOnly.vm")
<!-- only useful for popups. -->
<script>
window.opener.location.reload();
window.close();
</script>
...@@ -59,7 +59,7 @@ $page.setVlinkColor($ui.vlink) ...@@ -59,7 +59,7 @@ $page.setVlinkColor($ui.vlink)
</TD> </TD>
</TR> </TR>
#xdatEditProps($item $edit_screen) #xdatEditProps($item $edit_screen)
<input type="hidden" name="destination" value="$!destination"/> <input type="hidden" name="destination" value="JS_Return_Autoclose.vm"/>
<TR><TD COLSPAN=2 ALIGN=center><input type="submit" name="eventSubmit_doSetup" value="Submit"/></TD></TR> <TR><TD COLSPAN=2 ALIGN=center><input type="submit" name="eventSubmit_doSetup" value="Submit"/></TD></TR>
</table> </table>
...@@ -67,4 +67,4 @@ $page.setVlinkColor($ui.vlink) ...@@ -67,4 +67,4 @@ $page.setVlinkColor($ui.vlink)
#hideFormJustification() #hideFormJustification()
</form> </form>
</p> </p>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment