From: Michael J. Rubinsky Date: Fri, 31 Jul 2009 22:36:15 +0000 (-0400) Subject: Another place to add width/height for popup.js X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=09553cc3415a5d07dd95a384dfe480c493adc2d1;p=horde.git Another place to add width/height for popup.js --- diff --git a/ansel/lib/Ajax/Imple/ImageSaveGeotag.php b/ansel/lib/Ajax/Imple/ImageSaveGeotag.php index d1679d9e6..11a3bfa1f 100644 --- a/ansel/lib/Ajax/Imple/ImageSaveGeotag.php +++ b/ansel/lib/Ajax/Imple/ImageSaveGeotag.php @@ -67,7 +67,7 @@ class Ansel_Ajax_Imple_ImageSaveGeotag extends Horde_Ajax_Imple_Base $image->geotag('', '', ''); // Now get the "add geotag" stuff $addurl = Horde_Util::addParameter(Horde::applicationUrl('map_edit.php'), 'image', $img); - $addLink = Horde::link($addurl, '', '', '', Horde::popupJs(Horde::applicationUrl('map_edit.php'), array('params' => array('image' => $img), 'urlencode' => true)) . 'return false;'); + $addLink = Horde::link($addurl, '', '', '', Horde::popupJs(Horde::applicationUrl('map_edit.php'), array('params' => array('image' => $img), 'urlencode' => true, 'width' => '750', 'height' => '600')) . 'return false;'); $imgs = $GLOBALS['ansel_storage']->getRecentImagesGeodata(Horde_Auth::getAuth()); if (count($imgs) > 0) { $imgsrc = '
';