Skip to content

Commit

Permalink
close fancybox on cancel button click.
Browse files Browse the repository at this point in the history
  • Loading branch information
yaniv14 authored and firstred committed Aug 3, 2017
1 parent 05ee206 commit 9be83a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/productcomments/productcomments.tpl
Expand Up @@ -141,7 +141,7 @@
<button id="submitNewMessage" name="submitMessage" type="submit" class="btn btn-success">
{l s='Submit' mod='productcomments'}
</button>
<a class="closefb btn btn-link" href="#">
<a class="closefb btn btn-link" href="#" onclick="$.fancybox.close();return false;">
{l s='Cancel' mod='productcomments'}
</a>
</div>
Expand Down

0 comments on commit 9be83a6

Please sign in to comment.