(function($){ var myflow = $.myflow; $.extend(true, myflow.editors, { inputEditor : function(config){ var _props,_k,_div,_src,_r; this.init = function(props, k, div, src, r){ _props=props; _k=k; _div=div; _src=src; _r=r; var inputElementString = ''; if(config) { if(config.readOnly) { inputElementString = ''; } if(config.isHidden){ $('#'+_div).parent().parent().hide(); } } if("key" == _k){ if(!props[_k].value){ props[_k].value = GenerateGuid(); } } $(inputElementString).val((props[_k]||{}).value||"").change(function(){ props[_k].value = $(this).val(); }).appendTo('#'+_div); $('#'+_div).data('editor', this); }; this.destroy = function(){ $('#'+_div+' input').each(function(){ _props[_k].value = $(this).val(); }); }; }, selectEditor : function(arg,isPosition){ var _props,_k,_div,_src,_r; this.init = function(props, k, div, src, r){ _props=props; _k=k; _div=div; _src=src; _r=r; /*var ratioWidth = 100; if(isPosition){ ratioWidth = 80; } var sle = $('