mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
347 B
13 lines
347 B
'use strict'
|
|
|
|
import $ from 'jquery'
|
|
|
|
module.exports = (alerts) => {
|
|
if ($('#page-type-view').length) {
|
|
let currentBasePath = ($('#page-type-view').data('entrypath') !== 'home') ? $('#page-type-view').data('entrypath') : ''
|
|
|
|
require('../modals/create.js')(currentBasePath)
|
|
require('../modals/move.js')(currentBasePath, alerts)
|
|
}
|
|
}
|