ui.apps/src/main/resources/jcr_root/etc/slick/designs/slick/src/js/author/media.js
/**
     * Add Media
     *
     * Adds media to the view.
     * @param {object} json - The object returned from the ajax
     */
Add Media
Adds media to the view.
@param {object} json - The object returned from the ajax
Add Media Adds media to the view . @param { object } json - The object returned from the ajax
function addMedia(json) {
        messaging.sendMessage(json);
        showMedia(json.content);
        clearUploadLabel(document.querySelector('#media-upload'));
        toggleUploadButton();
    }
function addMedia ( json ) { messaging . sendMessage ( json ) ; showMedia ( json . content ) ; clearUploadLabel ( document . querySelector ( '#media-upload' ) ) ; toggleUploadButton ( ) ; }
Add Media
 Adds media to the view.
Add Media Adds media to the view .