admin main js: added inline hook for data-onclick