From: Thomas D. <svn...@pl...> - 2011-10-11 18:47:29
|
Author: thomasdesvenain Date: Tue Oct 11 18:45:49 2011 New Revision: 245397 Modified: collective.edm.listing/trunk/collective/edm/listing/resources/listing.js Log: declare closeselector Modified: collective.edm.listing/trunk/collective/edm/listing/resources/listing.js ============================================================================== --- collective.edm.listing/trunk/collective/edm/listing/resources/listing.js (original) +++ collective.edm.listing/trunk/collective/edm/listing/resources/listing.js Tue Oct 11 18:45:49 2011 @@ -3,7 +3,8 @@ jq('.edm-popup-link').unbind('mouseover').mouseover(function(){ jq(this).prepOverlay({ subtype: 'ajax', - filter: common_content_filter}); + filter: common_content_filter, + closeselector: '[name=form.button.Cancel]',}); jq(this).removeClass('edm-popup-link'); }) |