2017-02-10 01:24:28 +00:00
|
|
|
/* global $ */
|
2016-08-30 02:19:47 +00:00
|
|
|
|
2017-02-09 01:52:37 +00:00
|
|
|
if ($('#page-type-create').length) {
|
2017-02-10 01:24:28 +00:00
|
|
|
let pageEntryPath = $('#page-type-create').data('entrypath') // eslint-disable-line no-unused-vars
|
2016-08-30 02:19:47 +00:00
|
|
|
|
2017-02-10 01:24:28 +00:00
|
|
|
// -> Discard
|
2016-09-11 02:53:21 +00:00
|
|
|
|
2017-02-09 01:52:37 +00:00
|
|
|
$('.btn-create-discard').on('click', (ev) => {
|
|
|
|
$('#modal-create-discard').toggleClass('is-active')
|
|
|
|
})
|
2016-08-30 02:19:47 +00:00
|
|
|
|
2017-02-10 01:24:28 +00:00
|
|
|
/* eslint-disable spaced-comment */
|
|
|
|
//=include ../components/editor.js
|
|
|
|
/* eslint-enable spaced-comment */
|
2017-02-09 01:52:37 +00:00
|
|
|
}
|