From: Michael J. Rubinsky Date: Fri, 31 Jul 2009 22:26:12 +0000 (-0400) Subject: Readd the removed width and height parameters for popup.js X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fbc9a5baad44f29ffa60d4205562bb9764648f20;p=horde.git Readd the removed width and height parameters for popup.js --- 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 = '
';