Subversion Repositories wpShopGermany4

Compare Revisions

Ignore whitespace Rev 6462 → Rev 6463

/js/admin.js
147,6 → 147,8
}
 
var po;
 
function wpsg_ajaxBind()
{
153,10 → 155,26
// Hilfe Tooltips
jQuery('*[data-wpsg-tip]').on('click', function() {
 
jQuery(this).off('click').on('click', function() { return false; } );
//jQuery(this).off('click').on('click', function() { return false; } );
var po = this;
 
if (typeof po === "object")
{
if (po != this) jQuery(po).popover('hide');
}
po = this;
if (jQuery(this).hasClass('activated'))
{
jQuery(this).popover('show');
return false;
}
jQuery(this).popover( {
'html': true,
'content': '<div id="wpsg-popover-content"><img src="' + wpsg_ajax.img_ajaxloading + '" alt="' + wpsg_ajax.label_pleasewait + '" /></div>',
180,6 → 198,8
}
} );
jQuery(this).addClass('activated');
return false;
} );
202,6 → 222,12
return false;
 
} );
jQuery("html,body").on("click touchstart", function() {
if (typeof po === "object") jQuery(po).popover('hide');
});
 
jQuery('.wpsg_showhide_filter').bind('click', function() {