|
@@ -54,6 +54,9 @@ var buttonHandlers =
|
54
|
54
|
"toolbar_button_sip": function () {
|
55
|
55
|
return callSipButtonClicked();
|
56
|
56
|
},
|
|
57
|
+ "toolbar_button_dialpad": function () {
|
|
58
|
+ return dialpadButtonClicked();
|
|
59
|
+ },
|
57
|
60
|
"toolbar_button_settings": function () {
|
58
|
61
|
PanelToggler.toggleSettingsMenu();
|
59
|
62
|
},
|
|
@@ -221,6 +224,11 @@ function inviteParticipants() {
|
221
|
224
|
window.open("mailto:?subject=" + subject + "&body=" + body, '_blank');
|
222
|
225
|
}
|
223
|
226
|
|
|
227
|
+function dialpadButtonClicked()
|
|
228
|
+{
|
|
229
|
+ //TODO show the dialpad window
|
|
230
|
+}
|
|
231
|
+
|
224
|
232
|
function callSipButtonClicked()
|
225
|
233
|
{
|
226
|
234
|
var defaultNumber
|
|
@@ -568,6 +576,15 @@ var Toolbar = (function (my) {
|
568
|
576
|
}
|
569
|
577
|
};
|
570
|
578
|
|
|
579
|
+ // Shows or hides the dialpad button
|
|
580
|
+ my.showDialPadButton = function (show) {
|
|
581
|
+ if (show) {
|
|
582
|
+ $('#dialPadButton').css({display: "inline-block"});
|
|
583
|
+ } else {
|
|
584
|
+ $('#dialPadButton').css({display: "none"});
|
|
585
|
+ }
|
|
586
|
+ };
|
|
587
|
+
|
571
|
588
|
/**
|
572
|
589
|
* Displays user authenticated identity name(login).
|
573
|
590
|
* @param authIdentity identity name to be displayed.
|