summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2010-02-10 17:57:33 +0000
committerChristian Fowler <spider@viovio.com>2010-02-10 17:57:33 +0000
commit252dfd53c1be85cd1d2331b88adb0c66b65c7cc2 (patch)
treebb6e8c094b749f4422e66ee7c6d8b0fcf7e676a6
parent4f0477dbc4341b6edd91b649da98ffbc329de7b4 (diff)
downloadliberty-252dfd53c1be85cd1d2331b88adb0c66b65c7cc2.tar.gz
liberty-252dfd53c1be85cd1d2331b88adb0c66b65c7cc2.tar.bz2
liberty-252dfd53c1be85cd1d2331b88adb0c66b65c7cc2.zip
update javascript to use BitBase namespace
-rw-r--r--templates/content_permissions.tpl2
-rw-r--r--templates/edit_format.tpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/content_permissions.tpl b/templates/content_permissions.tpl
index 9cf9361..437aed5 100644
--- a/templates/content_permissions.tpl
+++ b/templates/content_permissions.tpl
@@ -23,7 +23,7 @@
<tr>
<th>{tr}Permission{/tr}</th>
{foreach from=$contentPerms.groups item=group}
- <th onmouseover="showById('f{$group.group_id}');hideById('a{$group.group_id}')">
+ <th onmouseover="BitBase.showById('f{$group.group_id}');BitBase.hideById('a{$group.group_id}')">
<abbr id="a{$group.group_id}" title="{$group.group_name}">{if count($contentPerms.groups) gt 10}{$group.group_name|truncate:4:false}{else}{$group.group_name}{/if}</abbr>
<span id="f{$group.group_id}" style="display:none">{$group.group_name}</span>
</th>
diff --git a/templates/edit_format.tpl b/templates/edit_format.tpl
index 65b9862..55a9b29 100644
--- a/templates/edit_format.tpl
+++ b/templates/edit_format.tpl
@@ -56,9 +56,9 @@
{foreach from=$gLibertySystem->mPlugins item=tag key=guid}
{if $tag.is_active eq 'y' and $tag.edit_field and $tag.plugin_type eq 'format'}
{if $tag.plugin_guid eq $plugin.plugin_guid}
- showById
+ BitBase.showById
{else}
- hideById
+ BitBase.hideById
{/if}
('qt{$textarea_id}{$tag.plugin_guid}');
{/if}