2016-08-28 15:27:05 +00:00
|
|
|
|
2017-02-09 01:52:37 +00:00
|
|
|
if ($('#page-type-edit').length) {
|
|
|
|
let pageEntryPath = $('#page-type-edit').data('entrypath')
|
2016-08-28 15:27:05 +00:00
|
|
|
|
2017-02-09 01:52:37 +00:00
|
|
|
// -> Discard
|
2016-08-31 03:38:21 +00:00
|
|
|
|
2017-02-09 01:52:37 +00:00
|
|
|
$('.btn-edit-discard').on('click', (ev) => {
|
|
|
|
$('#modal-edit-discard').toggleClass('is-active')
|
|
|
|
})
|
2016-08-28 15:27:05 +00:00
|
|
|
|
2017-02-09 01:52:37 +00:00
|
|
|
// =include ../components/editor.js
|
|
|
|
}
|