---
title: "How is the exit behavior controlled after a plot is complete in CollectEarth?"
url: "https://openforis.support/questions/341/how-is-the-exit-behavior-controlled-after-a-plot-is-complete-in-collectearth"
tags: ["collectearth"]
status: "answered"
score: 0
answer_count: 1
asked: "2015-09-22T14:35:57"
last_activity: "2015-09-22T15:17:46"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# How is the exit behavior controlled after a plot is complete in CollectEarth?

Asked by ejlindquist on 2015-09-22

How is the exit behavior controlled after a plot is complete in CollectEarth?


## Answer (score 0, by collectearth on 2015-09-22)

Link: https://openforis.support/questions/341/how-is-the-exit-behavior-controlled-after-a-plot-is-complete-in-collectearth/343

You cannot control it, it always does that.

If you need to change it so that it doesn't do anything after the data is saved then you will have to modify the **earth.js** file inside the **CEP** in the folder **earthFiles/js** (as always open the CEP file with WinRAR/WinZIP/any compression software) :

    if (json.validData) {
        showSuccessMessage(json.message);
        forceWindowCloseAfterDialogCloses($("#dialogSuccess"));
    }

So you will need to comment that forceWindowCloseAfterDialogCloses method by adding a couple of backslashes like so:

    //forceWindowCloseAfterDialogCloses($("#dialogSuccess"));
