mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 20:11:32 +02:00
adding correct events on plans page (#15951)
GitOrigin-RevId: d86b9cff07b9179a80b19ecdca1542ff8f9c9cd1
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
div.modal.fade(tabindex="-1" role="dialog" data-ol-group-plan-modal)
|
||||
.modal-dialog(role="document")
|
||||
.modal-content(
|
||||
event-tracking="form-submitted-groups-modal-open"
|
||||
event-tracking-mb="true"
|
||||
event-tracking-trigger="load"
|
||||
)
|
||||
.modal-content
|
||||
.modal-header
|
||||
button.close(
|
||||
type="button"
|
||||
|
||||
@@ -61,6 +61,7 @@ modalEl
|
||||
.on('shown.bs.modal', function () {
|
||||
const path = `${window.location.pathname}${window.location.search}`
|
||||
history.replaceState(null, document.title, path + '#groups')
|
||||
eventTracking.sendMB('form-submitted-groups-modal-open')
|
||||
})
|
||||
.on('hidden.bs.modal', function () {
|
||||
const path = `${window.location.pathname}${window.location.search}`
|
||||
|
||||
Reference in New Issue
Block a user