treconomics_project/static/javascripts/popup_launcher.js
/*
Called when the user completes the experiment. Attempts to update text within the parent window, and close
the opened popup. Haha!
*/
Called when the user completes the experiment. Attempts to update text within the parent window, and close
the opened popup. Haha!
Called when the user completes the experiment . Attempts to update text within the parent window and close the opened popup . Haha!
function completeExperiment() {
    if (window.opener) {
        displayCompletionMessage(window.opener.$('#instructions_text'));
    }
    window.close();
}
function completeExperiment ( ) { if ( window . opener ) { displayCompletionMessage ( window . opener . $ ( '#instructions_text' ) ) ; } window . close ( ) ; }
Called when the user completes the experiment.
Called when the user completes the experiment .