git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5942 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2009-03-24 01:24:54 +00:00
parent 2c981db5c7
commit 8b6023f91e
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<?php
<?php
/**
* @file index.php
* @author zero <zero@zeroboard.com>

View file

@ -79,8 +79,9 @@ function getWidgetContent(obj) {
var html = "";
if(typeof(obj)=='undefined' || !obj) obj = zonePageObj;
var widget;
var widget = null;
jQuery(obj).find('div[widget]').each(function(){
if(jQuery(this).parent().get(0) != obj) return;
widget = jQuery(this).attr('widget');
switch(widget) {
case 'widgetBox' :