hash auto dialing

This commit is contained in:
Anthony Minessale 2014-07-15 23:01:56 +05:00
parent 025fe24632
commit 4e34aa639a
1 changed files with 7 additions and 0 deletions

View File

@ -368,6 +368,13 @@ function init() {
$(document).ready(function() {
init();
$("#page-incall").on("pagebeforechange", function(event) {});
if (window.location.hash) {
var hash = window.location.hash.substring(1);
$("#ext").val(hash);
$("#callbtn").trigger("click");
}
});
$(document).bind("pagebeforechange", function(e, data) {