diff --git a/bl-kernel/admin/themes/booty/html/media.php b/bl-kernel/admin/themes/booty/html/media.php index d4ce4436..e442972f 100644 --- a/bl-kernel/admin/themes/booty/html/media.php +++ b/bl-kernel/admin/themes/booty/html/media.php @@ -66,6 +66,14 @@ $amountOfPages = count($listOfFilesByPage); echo 'var preLoadFiles = '.json_encode($preLoadFiles).';'; ?> +function openMediaManager() { + $('#jsbluditMediaModal').modal('show') +} + +function closeMediaManager() { + $('#jsbluditMediaModal').modal('hide') +} + // Remove all files from the table function cleanFiles() { $('#jsbluditMediaTable').empty(); @@ -77,13 +85,13 @@ function displayFiles(files) { cleanFiles(); // Regenerate the table $.each(files, function(key, filename) { - tableRow = '