• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Alex
  • Private: No
  • Open Date: 08.07.16, 22:54
  • Opened by: Maciej
  • Closed by: Alex
  • Closed on: 08.07.16, 23:33
  • Reason: Fixed
  • Comment: Glad to help!

Ticket #9743 - grid view & undefined

I have bug:  FS#7343  (the same in: as in:  FS#6081  & FS#6845 ) with “undefined” and grid view. You fixed by changing global.js – what changes are required?
General question, what files from default theme are modified in venedor? EG blocklayered navigation JS just need to be updated with default one in one of my previously discovered bug.

Comments

Alex 08 Jul 2016, 23:02

Hi.
themes/venedor/js/global.js

if (view && view != 'grid')
	display(view);
else
	$('.display').find('li#grid').addClass('selected');

change to

if (view && view == 'grid')
 $('.display').find('li#grid').addClass('selected');
Maciej 08 Jul 2016, 23:14

OK.

This piece of code fix the issue with grid.

Thanks.