diff --git a/frontend/drupal/sites/all/modules/nakupovanje_1ka/nakupovanje_1ka.module b/frontend/drupal/sites/all/modules/nakupovanje_1ka/nakupovanje_1ka.module index 5c2e67472..2b0e645db 100755 --- a/frontend/drupal/sites/all/modules/nakupovanje_1ka/nakupovanje_1ka.module +++ b/frontend/drupal/sites/all/modules/nakupovanje_1ka/nakupovanje_1ka.module @@ -108,7 +108,7 @@ function nakupovanje_1ka_menu() ]; // ENG povezave - $items['purchase-paypal/success'] = [ + $items['paypal-purchase/success'] = [ 'title' => 'Uspešno plačilo preko PayPala', //page title 'page callback' => 'nakupovanje_1ka_paypal_return', //callback function which is invoked when menu item is called. 'access callback' => true, //any user can access this page @@ -117,7 +117,7 @@ function nakupovanje_1ka_menu() ], ]; - $items['purchase-paypal/cancel'] = [ + $items['paypal-purchase/cancel'] = [ 'title' => 'Payment canceled via PayPal', //page title 'page callback' => 'nakupovanje_1ka_paypal_cancel', //callback function which is invoked when menu item is called. 'access callback' => true, //any user can access this page diff --git a/frontend/drupal/sites/all/themes/pro1ka/js/script.js b/frontend/drupal/sites/all/themes/pro1ka/js/script.js index d43ad964f..6d89a49a1 100755 --- a/frontend/drupal/sites/all/themes/pro1ka/js/script.js +++ b/frontend/drupal/sites/all/themes/pro1ka/js/script.js @@ -791,7 +791,7 @@ if ( (window.location.pathname.indexOf('/narocilo/paypal-cancel') > -1 && location.search.split('narocilo_id=').length > 1) || - (window.location.pathname.indexOf('/purchase-paypal/cancel') > -1 && location.search.split('narocilo_id=').length > 1) + (window.location.pathname.indexOf('/paypal-purchase/cancel') > -1 && location.search.split('narocilo_id=').length > 1) ) { var parametri = window.location.search.substr(1); @@ -807,7 +807,7 @@ if ( (window.location.href.indexOf('/narocilo/paypal?narocilo_id') > -1 && location.search.split('narocilo_id=').length > 1) || - (window.location.href.indexOf('/purchase-paypal/success?narocilo_id') > -1 && location.search.split('narocilo_id=').length > 1) + (window.location.href.indexOf('/paypal-purchase/success?narocilo_id') > -1 && location.search.split('narocilo_id=').length > 1) ){ var parametri = window.location.search.substr(1);