From eaac63bb6c71253d7c2d4817c7ffc40cf4f13aeb Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Sun, 18 Sep 2011 20:31:08 +0200 Subject: Fix mediamanager JS (diffs not yet working) --- inc/media.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'inc') diff --git a/inc/media.php b/inc/media.php index 7999fd255..2900f3e4d 100644 --- a/inc/media.php +++ b/inc/media.php @@ -1099,8 +1099,9 @@ function media_file_diff($image, $l_rev, $r_rev, $ns, $auth, $fromajax){ $difftype = $_REQUEST['difftype']; if (!$fromajax) { - $form = new Doku_Form(array('action'=>media_managerURL(array(), '&'), 'method' => 'get' - )); + $form = new Doku_Form(array('action' => media_managerURL(array(), '&'), + 'method' => 'get', + 'id' => 'mediamanager__form_diffview')); $form->addHidden('sectok', null); $form->addElement(''); $form->addElement(''); @@ -1219,10 +1220,10 @@ function media_image_diff($image, $l_rev, $r_rev, $l_size, $r_size, $type) { $r_src = ml($image, $r_more); // slider - echo '
'; + echo '
'; // two images in divs - echo '
'; + echo '
'; echo '
'; echo ''; echo '
'; -- cgit v1.2.3