<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -479,7 +479,8 @@ function attachContentDocument(contentPanel, account, address, type) {
 function openAttachPanel(account, address, resource, type, documentHref, target, action) {
     var contentPanel;
     if(target == 'main') {
-        if(getBrowser().contentDocument.location.href != 'about:blank')
+        if(getBrowser().contentDocument.location.href != 'about:blank' &amp;&amp;
+           !documentHref.match(/^javascript:/))
             getBrowser().selectedTab = getBrowser().addTab();
 
         contentPanel = getBrowser().selectedBrowser;</diff>
      <filename>chrome/content/sameplace.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c2cfaa5d7f3d0b0a33fc7db7ed259f82c885137c</id>
    </parent>
  </parents>
  <author>
    <name>Massimiliano Mirra</name>
    <email>bard@hyperstruct.net</email>
  </author>
  <url>http://github.com/bard/sameplace/commit/4be9fa278639006899308fcfbe9f128d6ad43b4f</url>
  <id>4be9fa278639006899308fcfbe9f128d6ad43b4f</id>
  <committed-date>2006-10-10T13:30:16-07:00</committed-date>
  <authored-date>2006-10-10T13:30:16-07:00</authored-date>
  <message>If application being attached to is a javascript: link, don't open new tab, work on current one.

darcs-hash:20061010203016-8cc29-25061611f2388881d43edcd3bf2ab991f9084cc3.gz</message>
  <tree>ab41c1dc2a3c7749ec3558e42d984172339fd060</tree>
  <committer>
    <name>Massimiliano Mirra</name>
    <email>bard@hyperstruct.net</email>
  </committer>
</commit>
