Line | |
---|
1 | var bitsTreeContextmenu = { |
---|
2 | ///////////////////////////////////////////////////////////////////// |
---|
3 | init : function(aEvent){ |
---|
4 | var contextmenu_mode = nsPreferences.copyUnicharPref("wiredmarker.contextmenu.mode"); |
---|
5 | if(contextmenu_mode == null){ |
---|
6 | setTimeout(function(){ |
---|
7 | bitsTreeContextmenu.confirm(); |
---|
8 | },500); |
---|
9 | } |
---|
10 | }, |
---|
11 | |
---|
12 | ///////////////////////////////////////////////////////////////////// |
---|
13 | done : function(aEvent){ |
---|
14 | }, |
---|
15 | |
---|
16 | ///////////////////////////////////////////////////////////////////// |
---|
17 | confirm : function(){ |
---|
18 | window.openDialog("chrome://markingcollection/content/treeContextmenuDialog.xul", "", "chrome,centerscreen,modal,dialog,close=no"); |
---|
19 | }, |
---|
20 | |
---|
21 | ///////////////////////////////////////////////////////////////////// |
---|
22 | _dump : function(aString){ |
---|
23 | window.top.bitsMarkingCollection._dump(aString); |
---|
24 | }, |
---|
25 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.