source: DASISH/t5.6/client/branches/webannotator-basic/chrome/markingcollection/content/markingcollection/treeContextmenu.js @ 5428

Last change on this file since 5428 was 5428, checked in by stephanie.roth@snd.gu.se, 10 years ago

Added new branch for work on schema change related client fixes.

File size: 816 bytes
Line 
1var 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.