mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
b6189c1612
commit
0f58f9d232
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user