FSN#37800 knownBookmarks niet via tabje als je PDA gebruikt
svn path=/Website/trunk/; revision=30850
This commit is contained in:
@@ -52,14 +52,20 @@
|
||||
rest = rest.substring(rest.indexOf("u=")).substring(("u="+u).length+1);
|
||||
|
||||
var isKnownBookmark = false;
|
||||
var isMobile = false;
|
||||
if (u in known_bookmarks)
|
||||
{
|
||||
isKnownBookmark = true;
|
||||
checkUserAgent(); // devicebits waren anders mogelijk nog niet gezet
|
||||
if (device.test(device.isDesktop) || device.test(device.isTouch))
|
||||
{
|
||||
url = known_bookmarks[u].gui;
|
||||
}
|
||||
else
|
||||
{
|
||||
url = known_bookmarks[u].mob || known_bookmarks[u].gui;
|
||||
isMobile = true;
|
||||
}
|
||||
url = url + keyparam;
|
||||
|
||||
if (keyparam > -1)
|
||||
@@ -148,7 +154,7 @@
|
||||
else
|
||||
var theURL = protectQS.create(url);
|
||||
|
||||
if (isKnownBookmark)
|
||||
if (isKnownBookmark && !isMobile)
|
||||
{
|
||||
Session("FirstPage") = theURL;
|
||||
theURL = rooturl;
|
||||
|
||||
Reference in New Issue
Block a user