mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
위젯에서 위젯스타일 수정시 style(넓이/높이) 속성 유지 관련
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5899 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ce3a270bc2
commit
e2889162ff
2 changed files with 2 additions and 3 deletions
|
|
@ -79,8 +79,8 @@ function getWidgetVars() {
|
|||
var attrs = selected_node.attributes;
|
||||
for (i=0; i< attrs.length ; i++){
|
||||
var input = jQuery("[name='"+attrs[i].name+"']" ,'#fo_widget');
|
||||
if( input.size() == 0 && attrs[i].name != 'style'){
|
||||
fo_widget.prepend('<input type="hidden" name="'+attrs[i].name+'" value="'+attrs[i].value+'" />');
|
||||
if( input.size() == 0){
|
||||
jQuery('<input type="hidden" name="'+attrs[i].name+'" />').val(attrs[i].value).prependTo(fo_widget);
|
||||
}else{
|
||||
if(!input.val() && attrs[i].value ){
|
||||
input.val(attrs[i].value);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
<input type="hidden" name="module_srl" value="{$module_srl}" />
|
||||
<input type="hidden" name="widgetstyle" value="{$widgetstyle}" />
|
||||
<input type="hidden" name="widget_sequence" value="" />
|
||||
<input type="hidden" name="style" value="float:left;width:100%;margin:none;padding:none;" />
|
||||
<input type="hidden" name="selected_widget" value="{$selected_widget}" />
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue