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

asked 22 Sep '15, 14:35

ejlindquist's gravatar image

ejlindquist
11223
accept rate: 0%


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"));
permanent link

answered 22 Sep '15, 15:17

collectearth's gravatar image

collectearth ♦
1.0k16
accept rate: 17%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×284

question asked: 22 Sep '15, 14:35

question was seen: 3,225 times

last updated: 22 Sep '15, 15:17