Hybrid View

  1. #1
    Ext User schmidetzki's Avatar
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    110
    Vote Rating
    0
    schmidetzki is on a distinguished road

      0  

    Default Comobox submitts additional field

    Comobox submitts additional field


    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 2.0.0.3 this does NOT prevent submission!
    As a result I have this empty-named field the server can't handle.

  2. #2
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    as a workaround you can try replacing that line with
    Code:
    this.el.dom.removeAttribute('name');
    try it and let us know if it works.

  3. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Mystix, that is much better than my terrible solution!
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  4. #4
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    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

  5. #5
    Ext User schmidetzki's Avatar
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    110
    Vote Rating
    0
    schmidetzki is on a distinguished road

      0  

    Default


    Yes, that works!

  6. #6
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Yikes, WinMerge! You could always get SVN access and check out by tag and have it auto merge.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  7. #7
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    hi jack,

    noticed in beta 2's ext-all-debug.js line 19926 that
    Code:
    this.el.dom.name = '';
    is still there before removeAttribute('name') is called; is this intentional?

  8. #8
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Sorta - it is a "just in case". I guess I could remove it.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar