+ onload hook for admin form functionality
This commit is contained in:
parent
1e4a6d5f5d
commit
6c6d5f8f30
@ -5,6 +5,7 @@
|
|||||||
* */
|
* */
|
||||||
import { Category } from './index'
|
import { Category } from './index'
|
||||||
import { VideoMeta } from './category'
|
import { VideoMeta } from './category'
|
||||||
|
import { populate_meta_form } from './admin'
|
||||||
|
|
||||||
export function category_ready_handler(e?: Event) : Event {
|
export function category_ready_handler(e?: Event) : Event {
|
||||||
/*
|
/*
|
||||||
@ -58,3 +59,9 @@ export function index_ready_handler(e?: Event) : Event {
|
|||||||
return e
|
return e
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function admin_ready_handler(e?: Event) : Event {
|
||||||
|
// Binding callbacks to frontend
|
||||||
|
document.getElementById('video-file').onchange = populate_meta_form
|
||||||
|
return e
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user