reload page after login

This commit is contained in:
Philipp Schaefer
2013-06-14 12:02:03 +02:00
parent 855b7c22af
commit cc44392d03
2 changed files with 15 additions and 2 deletions

View File

@ -90,11 +90,12 @@ window.runOnSmartphonesAfterBoot = function() {
// this is a hack, accessing Leaflets private _container is evil
$(this._container).on('taphold', function() {
window.renderPortalDetails(guid);
if (typeof android !== 'undefined' && android && android.portalLongPressed) {
android.portalLongPressed();
} else {
window.smartphone.sideButton.click();
}
window.renderPortalDetails(guid);
window.smartphone.sideButton.click();
});
});
});