mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5942 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2c981db5c7
commit
8b6023f91e
2 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @file index.php
|
* @file index.php
|
||||||
* @author zero <zero@zeroboard.com>
|
* @author zero <zero@zeroboard.com>
|
||||||
|
|
|
||||||
|
|
@ -79,8 +79,9 @@ function getWidgetContent(obj) {
|
||||||
var html = "";
|
var html = "";
|
||||||
if(typeof(obj)=='undefined' || !obj) obj = zonePageObj;
|
if(typeof(obj)=='undefined' || !obj) obj = zonePageObj;
|
||||||
|
|
||||||
var widget;
|
var widget = null;
|
||||||
jQuery(obj).find('div[widget]').each(function(){
|
jQuery(obj).find('div[widget]').each(function(){
|
||||||
|
if(jQuery(this).parent().get(0) != obj) return;
|
||||||
widget = jQuery(this).attr('widget');
|
widget = jQuery(this).attr('widget');
|
||||||
switch(widget) {
|
switch(widget) {
|
||||||
case 'widgetBox' :
|
case 'widgetBox' :
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue