anchor.diff:        }
       });
   
  -    window.onload = function(){
  -      VISH.IframeAPI.init({callback: onConnect});
  -    };
  -    function onConnect(origin){
  -      //console.log("Communication stablished with " + origin);
  -    }
  -
       $(".with_tooltip").tooltip({ placement: 'bottom'});
       
       $('.delete').popover({ 
  
positive.code:       return $('.contentdelete').html();
        },
        container: "body"
      });
  
      $('.btn_cancel').click(function(){
        $('.popover').popover('hide');
      });
  
      $('.delete').on('shown.bs.popover', function () {
  
negative.code: 
      //to close the popovers
      $(':not(#anything_not_present)').on('click', function (e) {
        $('.popover-link').each(function () {
          //the 'is' for buttons that trigger popups
          //the 'has' for icons and other elements within a button that triggers a popup
          if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.popover').has(e.target).length === 0) {
          $(this).popover('hide');
          return;
          }
        });
      });
  
  <%end%>
  