[FIX] Fixed a small problem which falls to load the template in mobile

bzr revid: psa@tinyerp.com-20140221131215-nf1y2t3qbeiosujb
This commit is contained in:
Pariket Trivedi 2014-02-21 18:42:15 +05:30 committed by Paramjit Singh Sahota
parent 777506617a
commit 467ec6a919
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
},
start: function () {
if (!window.location.origin) {
window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: '');
window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: '') + '/';
}
document.getElementById("mobile-viewport").src = window.location.origin + window.location.pathname + "#mobile-preview";
this.$el.modal();