OS Property support center

OSP Realhomes compare button does not work

  • brianpat pat
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 10 months ago #66017 by brianpat pat
OSP Realhomes compare button does not work was created by brianpat pat
The compare button doesn't work at all. This seems to be a bug. Can this be fixed please?

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #66018 by Mr. Dam
Replied by Mr. Dam on topic OSP Realhomes compare button does not work
Hi Brianpat,
Are you tried on Chrome or Firefox?
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • brianpat pat
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 10 months ago #66020 by brianpat pat
Replied by brianpat pat on topic OSP Realhomes compare button does not work
Yes I did, it doesn't work on ie Firefox and chrome

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #66021 by Mr. Dam
Replied by Mr. Dam on topic OSP Realhomes compare button does not work
Hi Brianpat,
Can you send me the link of your site so i can check the issue for you.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • brianpat pat
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 10 months ago #66022 by brianpat pat
Replied by brianpat pat on topic OSP Realhomes compare button does not work
Realtyconnect.co.uk/home

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #66025 by Mr. Dam
Replied by Mr. Dam on topic OSP Realhomes compare button does not work
Hi Brian,
I received some reports from customers about this issue. It happens on Chrome browser. We have fixed this issue and will release the patch soon. In the meantime, you or other customers can fix this issue by these steps
1. Open file: components > com_osproperty > js > lib.js
2. Find this function
Code:
function osConfirmExtend(message,task,id,live_site,element='',theme,layout){ var answer = confirm(message); if(answer == 1){ var process_element = document.getElementById('process_element'); if(process_element != null){ process_element.value = element; } osAjaxExtend(task,id,live_site,theme,layout); } }

and change to
Code:
function osConfirmExtend(message,task,id,live_site,element,theme,layout){ var answer = confirm(message); if(answer == 1){ if (typeof(element)==='undefined') element = ''; var process_element = document.getElementById('process_element'); if(process_element != null){ process_element.value = element; } osAjaxExtend(task,id,live_site,theme,layout); } }

Good luck
Dam
The following user(s) said Thank You: Foma

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan