silverstripe-cms/javascript/FeedbackAdmin_right.js
Andrew O'Neil 4cbc4642b6 Added deleting of marked comments
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39805 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-09 22:59:20 +00:00

21 lines
496 B
JavaScript

Behaviour.register({
'#Form_EditForm' : {
getPageFromServer : function(id) {
statusMessage("loading...");
var requestURL = 'admin/feedback/showtable/' + id;
this.loadURLFromServer(requestURL);
/*new Ajax.Request(requestURL, {
asynchronous : true,
method : 'post',
postBody : 'ajax=1',
onSuccess : this.successfullyReceivedPage.bind(this),
onFailure : function(response) {
errorMessage('error loading page',response);
}
});*/
}
}
});