fixed wrong sidebar array var

This commit is contained in:
Ian 2012-11-25 13:38:27 +01:00
parent a94b4a618a
commit 0f51f5ec4d

View File

@ -10,9 +10,9 @@ When the { is followed by a space it's not interpreted as smarty delimiter but l
<script type="text/javascript">
function templatePluginMoverInit() {
{foreach $sidebars AS $sidebar}
{foreach $plugin_placements AS $sidebar}
{($is_first) ? 'var ' : ''} list = document.getElementById("{$sidebar}_col");
{($is_first) ? 'var' : ''} list = document.getElementById("{$sidebar}_col");
DragDrop.makeListContainer(list, 'g1');
list.onDragOver = function() { this.style["border"] = "1px solid #4d759b"; };
list.onDragOut = function() { this.style["border"] = "none"; };