|
|
|
@ -54,6 +54,9 @@ var buttonHandlers = |
|
|
|
|
"toolbar_button_sip": function () { |
|
|
|
|
return callSipButtonClicked(); |
|
|
|
|
}, |
|
|
|
|
"toolbar_button_dialpad": function () { |
|
|
|
|
return dialpadButtonClicked(); |
|
|
|
|
}, |
|
|
|
|
"toolbar_button_settings": function () { |
|
|
|
|
PanelToggler.toggleSettingsMenu(); |
|
|
|
|
}, |
|
|
|
@ -221,6 +224,11 @@ function inviteParticipants() { |
|
|
|
|
window.open("mailto:?subject=" + subject + "&body=" + body, '_blank'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function dialpadButtonClicked() |
|
|
|
|
{ |
|
|
|
|
//TODO show the dialpad window
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function callSipButtonClicked() |
|
|
|
|
{ |
|
|
|
|
var defaultNumber |
|
|
|
@ -568,6 +576,15 @@ var Toolbar = (function (my) { |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// Shows or hides the dialpad button
|
|
|
|
|
my.showDialPadButton = function (show) { |
|
|
|
|
if (show) { |
|
|
|
|
$('#dialPadButton').css({display: "inline-block"}); |
|
|
|
|
} else { |
|
|
|
|
$('#dialPadButton').css({display: "none"}); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Displays user authenticated identity name(login). |
|
|
|
|
* @param authIdentity identity name to be displayed. |
|
|
|
|