Show
Ignore:
Timestamp:
12/01/06 02:00:47 (14 years ago)
Author:
knifee
Message:

Changed how the Killmail link works, no longer loads a popup window but rather fetches the killmail and loads it into a div. Also added a new style class for popup.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/kill_detail.php

    r130 r132  
    201201$menubox->setIcon("menu-item.gif"); 
    202202$menubox->addOption("caption", "View"); 
    203 $menubox->addOption("link", "Killmail", "javascript:openWindow( '?a=kill_mail&kll_id=" . $kill->getID() . "', null, 355, 430, '' );"); 
     203        $menubox->addOption("link","Killmail", "javascript:sndReq('index.php?a=kill_mail&kll_id=".$kill->getID()."');ReverseContentDisplay('popup')"); 
    204204if ($kill->relatedKillCount() > 1 || $kill->relatedLossCount() > 1) 
    205205{