Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Avoid a js error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ecoslado committed May 18, 2016
1 parent b3c3da5 commit 26aedca
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
Binary file modified dist/doofinder-p1.5-latest.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion doofinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Doofinder extends Module

const GS_SHORT_DESCRIPTION = 1;
const GS_LONG_DESCRIPTION = 2;
const VERSION = "2.1.3";
const VERSION = "2.1.4";

const YES = 1;
const NO = 0;
Expand Down
3 changes: 3 additions & 0 deletions js/doofinder-pagination_15.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
if(typeof(current_friendly_url) == 'undefined'){
var current_friendly_url = '';
}
function paginationButton(nulled,nulled_1) {
$('#pagination a').not(':hidden').each(function () {
if ($(this).attr('href').search(/[&|\?]p=/) == -1)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doofinder-for-prestashop",
"version": "2.1.3",
"version": "2.1.4",
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-clean": "^0.5.0",
Expand Down
4 changes: 2 additions & 2 deletions views/templates/front/doofinder_facets.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<!-- Doofinder Block layered navigation module -->
{if $nbr_filterBlocks != 0}
<script type="text/javascript">
current_friendly_url = '#';
param_product_url = '';
var current_friendly_url = '#';
var param_product_url = '';
</script>
<div id="layered_block_left" class="block">
<div class="block_content">
Expand Down

0 comments on commit 26aedca

Please sign in to comment.