Skip to content

Commit

Permalink
Make js code parsable by easygettext
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed May 28, 2024
1 parent f2969c0 commit e553206
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions web/src/pages/map/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
:timestamp="timestamp"
:object_count="editionStack.length"
@editor-save="
docWasOpen = $refs.doc.isShow()
$refs.doc.hide()
$refs.editor.show()
docWasOpen = $refs.doc.isShow();
$refs.doc.hide();
$refs.editor.show();
$nextTick(() => {
$refs.editorEditor.save()
})
});
"
/>
<div class="map-container">
Expand Down Expand Up @@ -85,14 +85,14 @@
:edition_stack="editionStack"
@edition="editionStack = $event"
@issue-done="
$refs.popup.corrected()
$refs.editor.hide()
$refs.popup.corrected();
$refs.editor.hide();
if (docWasOpen) {
$refs.doc.show()
}
"
@cancel="
$refs.editor.hide()
$refs.editor.hide();
if (docWasOpen) {
$refs.doc.show()
}
Expand All @@ -112,12 +112,12 @@
@q="$refs.osmObject.select($event)"
@remove-marker="$refs.markerLayer.remove($event)"
@fix-edit="
docWasOpen = $refs.doc.isShow()
$refs.doc.hide()
$refs.editor.show()
docWasOpen = $refs.doc.isShow();
$refs.doc.hide();
$refs.editor.show();
$nextTick(() => {
$refs.editorEditor.load($event.uuid, $event.fix)
})
});
"
@show-doc="showDoc"
@load-doc="loadDoc"
Expand Down

0 comments on commit e553206

Please sign in to comment.