Skip to content

Commit

Permalink
disable filter function
Browse files Browse the repository at this point in the history
  • Loading branch information
agitator committed Mar 1, 2017
1 parent e6b01a9 commit 3b55c59
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/collective/contact/core/browser/organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$(document).ready(function(){
$('.addnewcontactfromorganization').prepOverlay({
subtype: 'ajax',
filter: common_content_filter,
// filter: common_content_filter,
formselector: '#oform',
cssclass: 'overlay-contact-addnew',
closeselector: '[name="oform.buttons.cancel"]',
Expand Down
2 changes: 1 addition & 1 deletion src/collective/contact/core/browser/position.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$(document).ready(function(){
$('.addnewcontactfromposition').prepOverlay({
subtype: 'ajax',
filter: common_content_filter,
// filter: common_content_filter,
formselector: '#oform',
cssclass: 'overlay-contact-addnew',
closeselector: '[name="oform.buttons.cancel"]',
Expand Down
4 changes: 2 additions & 2 deletions src/collective/contact/core/browser/static/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ $(document).ready(function(){

$('.contactoverlay').prepOverlay({
subtype: 'ajax',
filter: common_content_filter,
// filter: common_content_filter,
formselector: '#form',
closeselector: '[name="form.buttons.cancel"]',
noform: function(el, pbo) {return 'reload';}
});

$('.deleteoverlay').prepOverlay({
subtype: 'ajax',
filter: common_content_filter,
// filter: common_content_filter,
formselector: '#delete_confirmation',
closeselector: '[name="form.button.Cancel"]',
noform: function(el, pbo) {return 'reload';}
Expand Down

0 comments on commit 3b55c59

Please sign in to comment.