Drupal: popravek redirekta zaradi url naslova
This commit is contained in:
parent
7588f3150e
commit
f460da4a71
@ -856,7 +856,7 @@
|
||||
}
|
||||
|
||||
|
||||
if (window.location.pathname.indexOf('izvedi-nakup') > -1 || window.location.pathname.indexOf('purchase') > -1) {
|
||||
if (window.location.pathname.indexOf('izvedi-nakup') > -1 || window.location.pathname.indexOf('/purchase/') > -1) {
|
||||
// Če uporabnik ni prijavljen
|
||||
if (document.cookie.indexOf('unam=') < 1) {
|
||||
return window.location.href = '/';
|
||||
|
Loading…
x
Reference in New Issue
Block a user