title: Update parent.page after Fancybox close
body: <p>Working on a webshop, and using fancybox to a quickshop type thing. My problem is that when user click "Add to basket" in fancybox, fancybox should close and refresh parent page. Using this:</p>
  
  <p>$(".quickshop").fancybox({
          'autoDimensions'  : true,
          'width'        : 798,
          'height'          : 480,
          'autoScale'         : true,
          'scrolling'        : 'true',
          'type'            : 'iframe',
          'titleShow'      : false,
          'onClosed': function() {
              parent.location.reload(true);
          }
      });</p>
  
  <p>And it does the trick, but it also reloads page when user just clicks the normal close button.</p>
  
  <p>So is there any way to check if "Add to basket" link has been clicked, and only then reload page?</p>