Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2010-07-17 01:56:12 +0400
committermattpiwik <matthieu.aubry@gmail.com>2010-07-17 01:56:12 +0400
commite00d708678dfc9610da3649ac272dcf24569cb43 (patch)
tree818fbe30d651ebe3fada7cea0569fdf39e3d2fd5 /plugins/CoreHome/templates/datatable_actions_js.tpl
parent9181f45d7da2a42dcec14af64502dee4608e03ae (diff)
small refactoring
git-svn-id: http://dev.piwik.org/svn/trunk@2522 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/CoreHome/templates/datatable_actions_js.tpl')
-rw-r--r--plugins/CoreHome/templates/datatable_actions_js.tpl14
1 files changed, 2 insertions, 12 deletions
diff --git a/plugins/CoreHome/templates/datatable_actions_js.tpl b/plugins/CoreHome/templates/datatable_actions_js.tpl
index 2a14a5a096..69eccc2a2f 100644
--- a/plugins/CoreHome/templates/datatable_actions_js.tpl
+++ b/plugins/CoreHome/templates/datatable_actions_js.tpl
@@ -1,12 +1,2 @@
-<script type="text/javascript" defer="defer">
-/* TODO 0- REFACTOR */
-$(document).ready(function(){literal}{{/literal}
- actionDataTables['{$properties.uniqueId}'] = new actionDataTable();
- actionDataTables['{$properties.uniqueId}'].param = {literal}{{/literal}
- {foreach from=$javascriptVariablesToSet key=name item=value name=loop}
- {$name}: '{$value}'{if !$smarty.foreach.loop.last},{/if}
- {/foreach}
- {literal}};{/literal}
- actionDataTables['{$properties.uniqueId}'].init('{$properties.uniqueId}');
-{literal}}{/literal});
-</script>
+{assign var=dataTableClassName value=actionDataTable}
+{include file=CoreHome/templates/datatable_js.tpl} \ No newline at end of file