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