View Full Version : Comobox submitts additional field
2 Apr 2007, 8:33 AM
I convert <selects>-s to Ext.comboboxes im my project.
Thince beta 1 I get an additional field with name "" submitted with the form.
There was one line added to the source in beta 1:
// prevent input submission
this.el.dom.name = '';
(Combo.js, Line 117)
At last in FF 126.96.36.199 this does NOT prevent submission!
As a result I have this empty-named field the server can't handle.
2 Apr 2007, 10:05 AM
as a workaround you can try replacing that line with
try it and let us know if it works. :)
2 Apr 2007, 11:36 AM
Mystix, that is much better than my terrible solution!
2 Apr 2007, 6:41 PM
awww shucks jack... u flatter me... :">
p.s. i'd like to suggest appending some sort of build number to the Ext download file so developers know they're getting a new SVN build. Otherwise, it's good old file-by-file winmerge for most of us ;)
3 Apr 2007, 1:02 PM
Yes, that works!
3 Apr 2007, 5:09 PM
Yikes, WinMerge! You could always get SVN access and check out by tag and have it auto merge. :)
11 Apr 2007, 9:14 AM
noticed in beta 2's ext-all-debug.js line 19926 that
this.el.dom.name = ''; is still there before removeAttribute('name') is called; is this intentional?
11 Apr 2007, 11:33 PM
Sorta - it is a "just in case". I guess I could remove it. :)
11 Apr 2007, 11:56 PM
just making sure. :D
always good to learn new stuff. just in case ;)
Powered by vBulletin® Version 4.1.5 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.