forked from science-ation/science-ation
Apparently in IE7 you can't .load into an <iframe>. But you can .load
into a <div>. So there.
This commit is contained in:
parent
ebbfaf42bd
commit
4aae875630
@ -173,7 +173,7 @@ case 'email_save':
|
|||||||
exit;
|
exit;
|
||||||
|
|
||||||
case 'dialog_edit':
|
case 'dialog_edit':
|
||||||
|
|
||||||
if(array_key_exists('id', $_GET)) {
|
if(array_key_exists('id', $_GET)) {
|
||||||
$id = intval($_GET['id']);
|
$id = intval($_GET['id']);
|
||||||
$cloneid = 0;
|
$cloneid = 0;
|
||||||
@ -321,7 +321,7 @@ case 'dialog_edit':
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
$("#comm_dialog_edit").dialog({
|
$("#comm_dialog_edit").dialog({
|
||||||
bgiframe: true, autoOpen: true,
|
bgiframe: true, autoOpen: true,
|
||||||
modal: true, resizable: false,
|
modal: true, resizable: false,
|
||||||
|
@ -89,10 +89,10 @@ function opencommunicationeditor(key,id,fcid) {
|
|||||||
fcstr="&fundraising_campaigns_id="+fcid;
|
fcstr="&fundraising_campaigns_id="+fcid;
|
||||||
|
|
||||||
if(id) {
|
if(id) {
|
||||||
$("#content").load("communication.php?action=dialog_edit&id="+id+fcstr,null,function() {
|
$("#debug").load("communication.php?action=dialog_edit&id="+id+fcstr,null,function() {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
$("#content").load("communication.php?action=dialog_edit&key="+key+fcstr,null,function() {
|
$("#debug").load("communication.php?action=dialog_edit&key="+key+fcstr,null,function() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user