change location using href in javascript for phonegap support
This commit is contained in:
@@ -135,7 +135,7 @@ function redirect_to(mapping, variables){
|
||||
vars.push(name + '=' +variables[name]);
|
||||
Qstorage.setItem(name, variables[name]);
|
||||
}
|
||||
window.location = QMobile.root_url() + path_mapping[mapping] + '.html'
|
||||
window.location.href = QMobile.root_url() + path_mapping[mapping] + '.html'
|
||||
}
|
||||
function direct_to_site(mapping, variables){
|
||||
variables || (variables = {});
|
||||
|
||||
Reference in New Issue
Block a user