From 8128df32468ba6ecca31f4561ec84ff960e357fc Mon Sep 17 00:00:00 2001 From: theopolisme Date: Wed, 7 May 2014 21:02:16 -0500 Subject: [PATCH] If the "Review" link is clicked again, just reload the main view --- src/modules/submissions.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/modules/submissions.js b/src/modules/submissions.js index b42e4d6..dc150d3 100644 --- a/src/modules/submissions.js +++ b/src/modules/submissions.js @@ -735,9 +735,13 @@ ) ); - // Now set up the review panel and replace it with - // actually content, not just a splash screen + // Now set up the review panel and replace it with actual content, not just a splash screen setupReviewPanel(); + + // If the "Review" link is clicked again, just reload the main view + $afchLaunchLink.click( function () { + spinnerAndRun( setupReviewPanel ); + } ); } function setupReviewPanel () {