Jump to content

JS Problem with Realex Payments HPP 2.1.0


Recommended Posts

Hi, 

we have installed a fresh copy of Prestashop 1.7.6.1 with Oreo template latest version and Realex Payment 2.1.0 and the problem is related to js tabs (see attached image)

It can be tested if you enter to https://biilik.es and check the URL and load area to see the error. If i disable hpp module everything works like a charm.

Please let me know if there is some fix to this behaviour.

Captura-de-pantalla-2019-10-29-a-las-18-


Regards

Link to comment
Share on other sites

  • 9 months later...

I submitted a fix to the authors but they never incorporated it into their next release.

diff --git a/views/js/realexpayments.js b/views/js/realexpayments.js
index 5a247d6..1e22089 100644
--- a/views/js/realexpayments.js
+++ b/views/js/realexpayments.js
@@ -35,7 +35,7 @@ $(document).ready(function() {
    
   
   // store the currently selected tab in the hash value
-  $("ul.nav-tabs > li > a").on("shown.bs.tab", function(e) {  
+  $("#tabConfig > li > a").on("shown.bs.tab", function(e) {  
     var id = $(e.target).attr("href").substr(1);
     //console.log(id);
     window.location.hash = id;

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...