while i create a form like next code:
var form = new Ext.form.Form({id:'cron',
action:'action',
labelAlign: 'right',
labelWidth: 75});
form.column({width:570,labelWidth:100, labelAlign: 'left',clear:true});
form.fieldset({legend:' ',width:550});
form.column( Forums phpMyVisites en français: VERSION 2 beta : bugs, suggests :: 2 posts - Last post: Nov 25, 2005E-mail to friend · Create a new topic · Submit Reply on top of the loginbox there is the following error, but only in firefox! http://www.phpmyvisites.net/forums/index.php/t/2296/HOME |
{width:290, labelWidth:93},
new Ext.form.TextField({
fieldLabel: 'name', It’s Not a Bug, It’s a Feature… No, It Really Is. Microsoft vs :: Jun 29, 2007 One “feature” (bug) of Firefox I’m having problems with is vaguely related to this. If I have a button (not submit, just a ) within a form, http://www.devside.net/blog/linux-windows-bug-featureHOME |
name: 'name',
width:170,
allowBlank:false
})
);
form.addButton({text:'ok'},function(){form.submit( );});
when i click the button 'ok',firebug report a error,i found it raise by the code from the method 'setForm' of the class YAHOO.util.Connect,i traced,and found that the code in line 748:
// Iterate over the form elements collection to construct the
// label-value pairs.
for (var i=0; i Re: [Full-Disclosure] FIREFOX flaws: nested array sort() loop :: Nov 25, 2004 Select product link, for example "Firefox" 9. there's a form to fill in, let's go this part over in Submit bug report, and you are done! http://archives.free.net.ph/message/20041125.211706.7de50486.en.htmlHOME |
because the firefox don't support the 'elements' properties , how can resolve it?
I would ask this question on the YUI mailing list. I am not sure what/why they are doing in setForm.
sorry, i found the reason when i check the html generated by the code
var form = new Ext.form.Form({id:'cron',
action:'action',
labelAlign: 'right',
labelWidth: 75});
i set a id in the config of the form,so the html generated by the code has two html element
so when submit the form ,in the code
Ext.lib.Ajax.formRequest(
this.form.el.dom,
this.getUrl(!isPost),
this.createCallback(),
isPost ? this.getParams() : null, this.form.fileUpload, Ext.SSL_SECURE_URL);
this.form.el.dom get the element is div,not the form,i think its a bug of ext,isn't it? :)
Yes, that has been fixed in SVN and will be in the next release.
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|