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

« back to all changes in this revision

Viewing changes to chrome/content/overlayMain.xul

  • Committer: Jonathan SEMCZYK
  • Date: 2011-02-21 14:39:24 UTC
  • Revision ID: jsemczyk@acipia.fr-20110221143924-2ribzv8sfe4d5osg
added autocomplete component
CSS mods for Toolbar button and textbox
ready for 2.0pre

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                <statusbarpanel id="asterisk-ext-statusbarpanel" >
74
74
                        <image id="asterisk-ext-status-icon" tooltiptext="Asterisk Click2Dial" 
75
75
                                onmousedown="AsteriskExtChrome.BrowserOverlay.onStatusButtonMouseDown();" hidden="false" />
76
 
                        <textbox id="asterisk-ext-status-textbox" type="search" empty="true" emptytext="&status.text;"
77
 
                                size="12" oncommand="AsteriskExtChrome.BrowserOverlay.statusDial();" searchbutton="true" hidden="false" />
 
76
                        <textbox id="asterisk-ext-status-textbox" type="autocomplete" autocompletesearch="phonenumber-autocomplete" 
 
77
                                showcommentcolumn="true" empty="true" emptytext="&status.text;"
 
78
                                size="12" hidden="false" onkeydown="if(event.keyCode == KeyEvent.DOM_VK_RETURN) { AsteriskExtChrome.BrowserOverlay.statusDial(); }"/>
78
79
                </statusbarpanel>
79
80
        </statusbar>
80
81
 
81
82
<!-- button details -->
82
 
        <toolbarbutton id="asterisk-ext-toolbar-icon"
83
 
                label="Asterisk"
84
 
                tooltiptext="asterisk tooltip"
 
83
        <toolbarbutton id="asterisk-ext-toolbar-icon"   label="Asterisk" tooltiptext="asterisk tooltip"
85
84
                oncommand="AsteriskExtChrome.BrowserOverlay.onToolbarButtonMouseDown();"
86
 
                class="chromeclass-toolbar-additional"
87
 
                />
88
 
        <toolbaritem id="asterisk-ext-toolbar-textbox">
89
 
                        <textbox id="asterisk-ext-toolbar-textbox-item" type="search" empty="true" emptytext="&status.text;"
90
 
                                size="12" oncommand="AsteriskExtChrome.BrowserOverlay.toolbarDial();" searchbutton="true" hidden="false" />
 
85
                class="chromeclass-toolbar-additional" />
 
86
        <toolbaritem id="asterisk-ext-toolbar-textbox" class="chromeclass-toolbar-additional">
 
87
                        <textbox id="asterisk-ext-toolbar-textbox-item" type="autocomplete" autocompletesearch="phonenumber-autocomplete"
 
88
                                showcommentcolumn="true" completedefaultindex="true" timeout="500"
 
89
                                empty="true" emptytext="&status.text;" src="chrome://asterisk-ext/skin/logo-16.png"
 
90
                                size="12" hidden="false" onkeydown="if(event.keyCode == KeyEvent.DOM_VK_RETURN) { AsteriskExtChrome.BrowserOverlay.toolbarDial(); }" />
 
91
                                
91
92
        </toolbaritem>
92
93
 
93
94
</overlay>