Merged revisions 52795 via svnmerge from

http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity

........
  r52795 | sminnee | 2008-04-15 22:19:09 +1200 (Tue, 15 Apr 2008) | 1 line
  
  Allow FormResponse loading into CTF pop-up
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53488 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-04-26 06:35:27 +00:00
parent b6189c1612
commit 0f58f9d232

View File

@ -11,6 +11,10 @@ ComplexTableFieldPopupForm.prototype = {
});
},
loadNewPage : function(content) {
this.innerHTML = content;
}
submitForm : function(e) {
// if custom validation implementation (extend class to implement)
if(this.validate) {
@ -46,7 +50,9 @@ ComplexTableFieldPopupForm.prototype = {
},
updateTableAfterSave : function(response) {
try {
eval(response.responseText);
} catch(er) { alert(er.message); }
var theForm = document.getElementsByTagName("form")[0];