Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /home/palandch/public_html/manager/templates/default/element/tv/renders/input/ |
<input id="tv{$tv->id}" name="tv{$tv->id}" type="text" class="textfield" value="{$tv->get('value')|escape}" {$style} tvtype="{$tv->type}" /> <script type="text/javascript"> // <![CDATA[ {literal} Ext.onReady(function() { var fld = MODx.load({ {/literal} xtype: 'textfield' ,applyTo: 'tv{$tv->id}' ,width: '99%' ,vtype: 'email' ,enableKeyEvents: true ,msgTarget: 'under' ,allowBlank: {if $params.allowBlank == 1 || $params.allowBlank == 'true'}true{else}false{/if} {literal} ,listeners: { 'keydown': { fn:MODx.fireResourceFormChange, scope:this}} }); MODx.makeDroppable(fld); Ext.getCmp('modx-panel-resource').getForm().add(fld); }); {/literal} // ]]> </script>