From fbc9a5baad44f29ffa60d4205562bb9764648f20 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 31 Jul 2009 18:26:12 -0400 Subject: [PATCH] Readd the removed width and height parameters for popup.js --- ansel/lib/Widget/Geotag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansel/lib/Widget/Geotag.php b/ansel/lib/Widget/Geotag.php index 89a995b00..f43826aea 100644 --- a/ansel/lib/Widget/Geotag.php +++ b/ansel/lib/Widget/Geotag.php @@ -103,7 +103,7 @@ class Ansel_Widget_Geotag extends Ansel_Widget_Base } elseif ($permsEdit) { // Image view, but no geotags, provide ability to add it. $addurl = Horde_Util::addParameter(Horde::applicationUrl('map_edit.php'), 'image', $this->_params['images'][0]); - $addLink = Horde::link($addurl, '', '', '', Horde::popupJs(Horde::applicationUrl('map_edit.php'), array('params' => array('image' => $this->_params['images'][0]), 'urlencode' => true)) . 'return false;'); + $addLink = Horde::link($addurl, '', '', '', Horde::popupJs(Horde::applicationUrl('map_edit.php'), array('params' => array('image' => $this->_params['images'][0]), 'urlencode' => true, 'width' => '750', 'height' => '600')) . 'return false;'); $imgs = $ansel_storage->getRecentImagesGeodata(Horde_Auth::getAuth()); if (count($imgs) > 0) { $imgsrc = '
'; -- 2.11.0