mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 2130
1. added init_options null check. 2. added attrFilter list check. 3. modified target of event listner. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3@10862 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
30ad13026f
commit
7db2d72906
3 changed files with 20 additions and 10 deletions
|
|
@ -87,14 +87,20 @@ function doFillWidgetVars() {
|
|||
|
||||
// 위젯 스타일 유지를 위한 hidden input 추가하고 값을 저장
|
||||
var attrs = selected_node.attributes;
|
||||
for (i=0; i< attrs.length ; i++){
|
||||
var name = attrs[i].name;
|
||||
var value = jQuery(selected_node).attr(name);
|
||||
if(value=='Array') continue;
|
||||
if(jQuery("[name="+name+"]",fo_widget).size()>0 || !value || name == 'style') continue;
|
||||
|
||||
var dummy = jQuery('<input type="hidden" name="'+name+'" >').val(value).appendTo("#fo_widget").get(0);
|
||||
}
|
||||
// IE7에서 발생하는 jQuery 용 attribute를 걸러내기 위해 추가
|
||||
var attrFilters = ['style', 'sizset', 'draggable', 'class'];
|
||||
|
||||
for (i=0; i< attrs.length ; i++){
|
||||
var name = attrs[i].name;
|
||||
var value = jQuery(selected_node).attr(name);
|
||||
if(value=='Array') continue;
|
||||
if(jQuery("[name="+name+"]",fo_widget).size()>0 || !value) continue;
|
||||
if(name.indexOf('sizcache') == 0) continue;
|
||||
if(jQuery.inArray(name, attrFilters) > -1) continue;
|
||||
|
||||
var dummy = jQuery('<input type="hidden" name="'+name+'" />').val(value).appendTo("#fo_widget").get(0);
|
||||
}
|
||||
|
||||
// 위젯의 속성 설정
|
||||
var obj_list = new Array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue