Fix all other (1) #content loads. We pretty much dont' need that now.

Maybe we should create a #content div.  :p
This commit is contained in:
dave 2010-02-04 06:48:44 +00:00
parent 4aae875630
commit dc29349e7c
2 changed files with 1 additions and 3 deletions

View File

@ -284,8 +284,7 @@ function thanked() {
//key is initial or followup //key is initial or followup
//start is either 'new' to start with a blank, or 'existing' to load an existing email to start from //start is either 'new' to start with a blank, or 'existing' to load an existing email to start from
function opencommunicationsender(uid,template) { function opencommunicationsender(uid,template) {
$("#content").empty(); $("#debug").load("communication.php?action=dialog_sender&uid="+uid+"&template=fundraising_thankyou_template",null,function() {
$("#content").load("communication.php?action=dialog_sender&uid="+uid+"&template=fundraising_thankyou_template",null,function() {
}); });
return false; return false;
} }

View File

@ -83,7 +83,6 @@ $(document).ready(function()
//key is 'val' from emails table, or id is id, fcid simply gets passed in and saved if needed //key is 'val' from emails table, or id is id, fcid simply gets passed in and saved if needed
//only id or key are used to lookup which to open //only id or key are used to lookup which to open
function opencommunicationeditor(key,id,fcid) { function opencommunicationeditor(key,id,fcid) {
$("#content").empty();
var fcstr=""; var fcstr="";
if(fcid) if(fcid)
fcstr="&fundraising_campaigns_id="+fcid; fcstr="&fundraising_campaigns_id="+fcid;