]> git.ktnx.net Git - icedeb.git/blobdiff - chrome/content/icedeb.js
switch the PTS button to the new package tracker, tracker.debian.org
[icedeb.git] / chrome / content / icedeb.js
index 19cf1207f1a64fc3dc798c94ddb04d43353270ee..262f09d8bbfcde262b52d71b2316d9ba160c9263 100644 (file)
@@ -8,6 +8,9 @@ IceDeb = {
             .createInstance(Components.interfaces.nsITransferable);
         if (!trans) return null;
 
+        if (typeof(trans.init) === 'function')
+            trans.init(null);
+
         trans.addDataFlavor("text/unicode");
         clip.getData(trans,
                 clip.supportsSelectionClipboard()
@@ -61,7 +64,7 @@ IceDeb = {
     lookup_pts: function(in_new) {
         var pkg = IceDeb.trim_keyword(IceDeb.getClipboardText());
         if (!pkg) return null;
-        var uri="http://packages.qa.debian.org/" + pkg;
+        var uri="https://tracker.debian.org/" + pkg;
 
         if (in_new) {
             var b = getBrowser();