Changing tag list to load content by ajax (fix #40) and updating the default sort order of backend lists (fix #49)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
$(() => {
|
||||
var obj = {};
|
||||
if (typeof tagPartial !== 'string') obj = { '@tags': '#taglist' }
|
||||
else obj[tagPartial] = '#taglist'
|
||||
|
||||
$.request('TagList::onAjaxDataRequested', {
|
||||
complete: (data) => { $(window).trigger('tagsLoaded', data) }
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user