mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +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');
|