mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-09-06 01:31:09 +02:00
13 lines
331 B
JavaScript
13 lines
331 B
JavaScript
|
CommentList = Class.extend('SidePanel');
|
||
|
CommentList.prototype = {
|
||
|
destroy: function() {
|
||
|
if(this.SidePanel) this.SidePanel.destroy();
|
||
|
this.SidePanel = null;
|
||
|
},
|
||
|
onpagechanged : function() {
|
||
|
this.body.innerHTML = '<p>loading...</p>';
|
||
|
this.ajaxGetPanel(this.afterPanelLoaded);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
CommentList.applyTo('#comments_holder');
|