~click2dial-extension-devteam/click2dial-firefox-extension/2.0

« back to all changes in this revision

Viewing changes to chrome/content/asterisk-ext.xul

  • Committer: Jonathan SEMCZYK
  • Date: 2010-11-05 15:28:45 UTC
  • Revision ID: jsemczyk@acipia.fr-20101105152845-tz6a4d0ifwph3r67
switched back to search type status textbox before merging into 1.5 branch
added a dial function into the browser overlay
removed some thunderbird code

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
        <popup id="contentAreaContextMenu">
25
25
                <menuitem image="chrome://asterisk-ext/skin/logo-20.png" 
26
26
                        class="menuitem-iconic" id="context-asterisk" label="&menu.call;"
27
 
                        accesskey="&menu.callKey;" oncommand="AsteriskExtChrome.dial(this.value);"
 
27
                        accesskey="&menu.callKey;" oncommand="AsteriskExtChrome.BrowserOverlay.dial(this.value);"
28
28
                        position="1" hidden="true" />
29
29
                <menuitem image="chrome://asterisk-ext/skin/logo-20.png" 
30
30
                        class="menuitem-iconic" id="context-asterisk-edit" label="&menu.editcall;"
36
36
                <menupopup id="asterisk-ext-popup" onpopupshowing="AsteriskExtChrome.BrowserOverlay.onStatusBarContextMenu(event);">
37
37
                        <menuitem image="chrome://asterisk-ext/skin/logo-20.png" 
38
38
                                class="menuitem-iconic" id="asterisk-ext-call-menuitem" label="&menu.call;"
39
 
                                oncommand="AsteriskExtChrome.dial(this.value);"
 
39
                                oncommand="AsteriskExtChrome.BrowserOverlay.dial(this.value);"
40
40
                                hidden="true" />
41
41
                        <menuitem id="asterisk-ext-connect-menuitem"
42
42
                                label="&menu.connect;" oncommand="AsteriskExtChrome.connectManager();" />
56
56
                <statusbarpanel id="asterisk-ext-statusbarpanel" >
57
57
                        <image id="asterisk-ext-status-icon" tooltiptext="Asterisk Click2Dial" 
58
58
                                onmousedown="AsteriskExtChrome.BrowserOverlay.onStatusButtonMouseDown();" hidden="false" />
59
 
                        <textbox id="asterisk-ext-status-textbox" type="autocomplete" emtpy="true" emptytext="&status.text;"
 
59
                        <textbox id="asterisk-ext-status-textbox" type="search" emtpy="true" emptytext="&status.text;"
60
60
                                size="12" command="cmd_statusdial" searchbutton="true" hidden="false" />
61
61
                </statusbarpanel>
62
62
        </statusbar>
63
63
 
64
 
<!-- ThunderBird -->
65
 
        <popup id="messagePaneContext">
66
 
                <menuitem image="chrome://asterisk-ext/skin/logo-20.png" 
67
 
                        class="menuitem-iconic" id="context-asterisk" label="&menu.call;"
68
 
                        accesskey="c" oncommand="AsteriskExtChrome.dial(this.value);"
69
 
                        position="1" hidden="true" />
70
 
                <menuitem image="chrome://asterisk-ext/skin/logo-20.png" 
71
 
                        class="menuitem-iconic" id="context-asterisk-edit" label="&menu.editcall;"
72
 
                        accesskey="e" oncommand="AsteriskExtChrome.BrowserOverlay.editConfirmDial(this.value);"
73
 
                        position="2" hidden="true" />
74
 
        </popup>
75
 
 
76
 
        <description id="cvPhWork"
77
 
                onclick="AsteriskExtChrome.BrowserOverlay.editConfirmDial(AsteriskExtChrome.cleanPhoneNumber(document.getElementById('cvPhWork').textContent));"
78
 
                class="ae-number" />
79
 
        <description id="cvPhCellular"
80
 
                onclick="AsteriskExtChrome.BrowserOverlay.editConfirmDial(AsteriskExtChrome.cleanPhoneNumber(document.getElementById('cvPhCellular').textContent));" 
81
 
                class="ae-number" />
82
 
        <description id="cvPhHome"
83
 
                onclick="AsteriskExtChrome.BrowserOverlay.editConfirmDial(AsteriskExtChrome.cleanPhoneNumber(document.getElementById('cvPhHome').textContent));"
84
 
                class="ae-number" />
85
 
 
86
 
        
87
64
</overlay>