Skip to content

Commit

Permalink
Dispatch editDocumentWKTReceived event after WKT value is available w…
Browse files Browse the repository at this point in the history
…hile updating doc (GCRC#1248)

* email templates for document creation and user registration notification

* Revert "email templates for document creation and user registration notification"

This reverts commit 229e3a9.

* dispatch an editDocumentWKTReceived event after document is updated with nunaliit_geom

---------

Co-authored-by: Jagdish Kunwar <[email protected]>
  • Loading branch information
kunwarj and Jagdish Kunwar authored Oct 22, 2024
1 parent 343f67f commit dd76fbd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nunaliit2-js/src/main/js/nunaliit2/n2.couchEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1107,6 +1107,10 @@ var CouchDocumentEditor = $n2.Class({
,wkt: wkt
});
startEditor();
_this.dispatchService.synchronousCall(DH, {
type: "editDocumentWKTReceived",
doc: editedDoc
})
}
,error: function(XMLHttpRequest, textStatus, errorThrown) {
$n2.log('Unable to retrieve original geometry',editedDoc);
Expand Down

0 comments on commit dd76fbd

Please sign in to comment.