summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/ajax.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/exe/ajax.php b/lib/exe/ajax.php
index 16efd9ac7..8ff0f8eda 100644
--- a/lib/exe/ajax.php
+++ b/lib/exe/ajax.php
@@ -211,7 +211,7 @@ function ajax_medialist(){
$NS = $_POST['ns'];
if ($_POST['do'] == 'media') {
- tpl_fileList(true);
+ tpl_fileList();
} else {
tpl_mediaContent(true);
}
@@ -229,11 +229,7 @@ function ajax_mediadetails(){
$NS = $_POST['ns'];
$image = $_POST['image'];
- if (isset($_POST['full'])) {
- tpl_fileDetails($image, false);
- } else {
- tpl_fileDetails($image, false, true);
- }
+ tpl_fileDetails($image, false);
}
/**