import v1.0.0-RC4 | 2009-05-20
This commit is contained in:
25
modules/default/views/scripts/history/index.phtml
Executable file
25
modules/default/views/scripts/history/index.phtml
Executable file
@ -0,0 +1,25 @@
|
||||
<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">
|
||||
<input type="button" id="clearHistoryBtn" value="<?= $this->translate('Clear History') ?>" onclick="COMMID.historyList.clearEntries()" />
|
||||
<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>
|
Reference in New Issue
Block a user