mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 15:01:15 +02:00
added autoscroll
This commit is contained in:
parent
bba85429b1
commit
99ea20671e
@ -70,7 +70,7 @@ void FormRenderer::renderHead(const Renderable* pRenderable, const RenderContext
|
|||||||
//ostr << "onSubmit:Ext.emptyFn,submit:function(){this.getEl().dom.submit();},";
|
//ostr << "onSubmit:Ext.emptyFn,submit:function(){this.getEl().dom.submit();},";
|
||||||
if (pForm->getMethod() == Form::METHOD_POST)
|
if (pForm->getMethod() == Form::METHOD_POST)
|
||||||
ostr << "method:'POST',";
|
ostr << "method:'POST',";
|
||||||
ostr << "title:'" << pForm->getName() << "',autoHeight:true,autoWidth:true,url:'" << pForm->getURI().toString() << "',frame:true,items:[";
|
ostr << "title:'" << pForm->getName() << "',autoHeight:true,autoWidth:true,autoScroll:true,url:'" << pForm->getURI().toString() << "',frame:true,items:[";
|
||||||
//we need to add a hidden entry that contains the Form::FORM_ID plus its id
|
//we need to add a hidden entry that contains the Form::FORM_ID plus its id
|
||||||
ostr << "new Ext.form.Hidden({name:'" << Form::FORM_ID << "', value:" << pForm->id() << "})";
|
ostr << "new Ext.form.Hidden({name:'" << Form::FORM_ID << "', value:" << pForm->id() << "})";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user