Support (offered by community volunteers) > Using CiviMail

Mailings Don't Cancel or Delete --> Is this the right fix?

(1/2) > >>

civicrmsav:
On my system (4.1.3 on drupal 6) choosing 'cancel' or 'delete' for a scheduled mailing has no effect.  But it works fine on the demo. 

I get a javascript error:

--- Code: ---Source File: [mysite]/civicrm/mailing/browse?_qf_Search_display=true&qfKey=882041ae4fd32499c738d5d4350c5e9c_1666
Line: 1, Column: 92
Source Code:
if (confirm('Are you sure you want to delete this mailing?')) {  this.href+='&confirmed=1'; else return false;}
--- End code ---

On the demo the { and } are not present around the "this.hef .... return false;"

If I hack /CRM/Mailing/Selector/Browse.php and remove those it seems to work fine.   Is this the right fix?  Should I submit this as a bug and patch?

garkalulu:
I am unable to delete mailing too.

clarkac:
The above fix worked for me...

shayaknyc:
For me as well....weird bug...

thosfelt:
Syntax error, I just removed the else part and now it seems to work fine and I still get the popup to confirm the delete.

Navigation

[0] Message Index

[#] Next page

Go to full version