CommunityID/modules/default/views/scripts/history/index.phtml

26 lines
874 B
PHTML
Raw Permalink Normal View History

2019-07-17 20:08:50 +00:00
<script>
YAHOO.util.Event.onDOMReady(function () {
COMMID.loader.insert(
["datasource", "datatable", "paginator", "json", "connection", "dragdrop", "animation", "container"],
COMMID.historyList.init,
COMMID.historyList
);
});
</script>
<div id="paging"></div>
<div id="dt"></div>
<div id="clearHistory">
2019-07-17 20:16:19 +00:00
<input type="button" id="clearHistoryBtn" value="<?php echo $this->translate('Clear History') ?>" onclick="COMMID.historyList.clearEntries()" />
2019-07-17 20:08:50 +00:00
<script type="text/javascript">
YAHOO.util.Event.onDOMReady(function () {
var oButton = new YAHOO.widget.Button(
"clearHistoryBtn",
{
type : "push",
onclick : {fn: COMMID.historyList.clearEntries, scope: COMMID.historyList}
}
);
});
</script>
</div>