]> git.ktnx.net Git - icedeb.git/commitdiff
rename the class and the method
authorDamyan Ivanov <dmn@debian.org>
Thu, 26 Feb 2009 12:13:08 +0000 (14:13 +0200)
committerDamyan Ivanov <dmn@debian.org>
Thu, 26 Feb 2009 12:13:08 +0000 (14:13 +0200)
chrome/button.js
chrome/button.xul

index f1ec859ba2eb4e040d86e21fd4be11e39f8ef18a..a9483994af6145b5147e947f5e02a32c5a557813 100644 (file)
@@ -1,7 +1,7 @@
-CustomButton = {
+Debian = {
 
-1: function () {
-         alert("Just testing")  
+btsButton: function (e) {
+         alert("Just testing")
                },
 
 }
index 44c7ae80f7b164042f398c77244237ac70c11f80..3156589012408c5d62429ffcc0b87314bea34220 100644 (file)
@@ -19,7 +19,7 @@
 <toolbarbutton id="debian-bts-query-button-1"
   label="Debian BTS"
   tooltiptext="Query Debian BTS using the text in the clipboard"
-  oncommand="CustomButton[1]()"
+  oncommand="Debian.btsButton(event)"
   class="toolbarbutton-1 chromeclass-toolbar-additional debian-bts-query-button"
   />