1. #321
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by Stju View Post
    In 3.1.1 this line in ext-all.css looks like is conflicting
    Code:
    .ext-strict .x-small-editor .x-form-text {
        height:16px !important;
    }
    making superbox container unable to stretch vertically.

    In 3.0 height is defined without '!important', thus removed, puts everything back in place, but probably destroys something else, as I guess it's made the way there for purpose ...
    How are you using the component? - I've tried putting it into an Editor, but that CSS rule doesn't get applied.

    Edit:

    It doesn't really matter, I added the .x-small-editor class to the body to see the issue (which I've fixed for the next release), but I'm curious about your usage.

  2. #322
    Sencha - Services Team Stju's Avatar
    Join Date
    Dec 2008
    Location
    Redwood city, California
    Posts
    288
    Vote Rating
    3
    Stju is on a distinguished road

      0  

    Default


    I'm using it in Wizzard component (Ext.ux.Wiz). Strange, that you have different effect..
    Maybe thats becaue of DOCTYPE? If doctype not speciefied browser tends to go to strict mde, where .ext-strict css rule comes into effect.. As I didn't have much time to investigate, just removed !important from css-all ...

  3. #323
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by Stju View Post
    I'm using it in Wizzard component (Ext.ux.Wiz). Strange, that you have different effect..
    Maybe thats becaue of DOCTYPE? If doctype not speciefied browser tends to go to strict mde, where .ext-strict css rule comes into effect.. As I didn't have much time to investigate, just removed !important from css-all ...
    My DOCTYPE was strict, but I didn't know how to trigger the .x-small-editor class - never mind, I've applied this to the superboxselect.css file to fix the problem:
    Code:
    .ext-strict .x-small-editor .x-superboxselect {height: auto !important}
    Thanks for the report.

  4. #324
    Ext User
    Join Date
    Feb 2010
    Posts
    1
    Vote Rating
    0
    jayasreepc is on a distinguished road

      0  

    Default Latest version of Extjs 3.1 superselectbox.js

    Latest version of Extjs 3.1 superselectbox.js


    Hi,

    I am a new member to this forum.
    Can anyone please let me know where to find the latest version of superselectbox.js for Ext 3.1?

  5. #325
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    It's attached to the first post of this thread.

  6. #326
    Ext User
    Join Date
    Feb 2010
    Posts
    1
    Vote Rating
    0
    hoca is on a distinguished road

      0  

    Thumbs up Super awesimo!

    Super awesimo!


    Great work, can't wait to use this component!

  7. #327
    Sencha User
    Join Date
    Jan 2010
    Location
    21702
    Posts
    1
    Vote Rating
    0
    tboswell is on a distinguished road

      0  

    Default Fix for 'beforeremoveitem' listener

    Fix for 'beforeremoveitem' listener


    If you have a listener for the beforeremoveitem event to prevent it, it will not work in the current code base. You need to modify the 'remove' listener inside the component to return false instead of just return.

    listeners: {
    'remove': function(item) {
    if (this.fireEvent('beforeremoveitem', this, item.value, item) === false) {
    return false;
    }

  8. #328
    Ext JS Premium Member
    Join Date
    Sep 2009
    Posts
    4
    Vote Rating
    0
    max.hauser is on a distinguished road

      0  

    Default


    Thank you very much for this awesome control!

    When you delete an item with the mouse, the 'change' event is not fired - here is my fix for the Ext.ux.form.SuperBoxSelectItem.onLnkClick method (starts on line 1489):

    onLnkClick: function (e) {
    var startValue = this.owner.getValue();
    if (e) {
    e.stopEvent();
    }
    this.preDestroy();
    if (!this.owner.navigateItemsWithTab) {
    this.owner.el.focus();
    }
    var v = this.owner.getValue();
    if (startValue != v) {
    this.owner.fireEvent('change', this.owner, v, startValue);
    }
    },

    Max

  9. #329
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    @max.hauser,

    Form fields fire the change event just before the control blurs, so your 'fix' would make the component behave in an incompatible way.

    Regards,

    Dan

  10. #330
    Ext JS Premium Member
    Join Date
    Sep 2009
    Posts
    4
    Vote Rating
    0
    max.hauser is on a distinguished road

      0  

    Default


    @dan,

    thanks for your reply.

    I examined the code a little further and noticed, that the onFocus is called after the item has been removed (when you click on the 'x') and so the "this.startValue" is set to the value without the item (in the Ext.form.Field class). On blur the startValue is equal to the current value and so the change event is not fired.

    So maybe a better solution would be to move the removal of the item after the control got the focus (so move the this.preDestroy call after the this.owner.el.focus() call).

    Do you agree?

    Regards,
    Max

Thread Participants: 119

  1. galdaka (9 Posts)
  2. aconran (1 Post)
  3. stever (4 Posts)
  4. dj (1 Post)
  5. mystix (18 Posts)
  6. MarkB (3 Posts)
  7. DrZog (1 Post)
  8. JorisA (2 Posts)
  9. jheid (3 Posts)
  10. Joe (1 Post)
  11. mschering (1 Post)
  12. gigel (1 Post)
  13. akannu (1 Post)
  14. phillipL (1 Post)
  15. badgerd (1 Post)
  16. cmendez21 (1 Post)
  17. mjlecomte (1 Post)
  18. grgur (1 Post)
  19. xantus (1 Post)
  20. garraS (3 Posts)
  21. vahid4134 (2 Posts)
  22. Lloyd K (2 Posts)
  23. boonkerz (3 Posts)
  24. crxtech (3 Posts)
  25. mishanian (7 Posts)
  26. fpw23 (1 Post)
  27. sanjshah (6 Posts)
  28. Zolcsi (1 Post)
  29. SharePat (1 Post)
  30. mjhaston (1 Post)
  31. radtad (16 Posts)
  32. Joyfulbob (2 Posts)
  33. kveeiv (1 Post)
  34. armandoxxx (2 Posts)
  35. imran (1 Post)
  36. Eric24 (1 Post)
  37. drunknmunky (1 Post)
  38. raphac (1 Post)
  39. charleshimmer (1 Post)
  40. frankthetank (4 Posts)
  41. qooleot (3 Posts)
  42. gianpaulo (1 Post)
  43. dennispg (9 Posts)
  44. dasnk (1 Post)
  45. grahamda (1 Post)
  46. sdavids (1 Post)
  47. jasonb885 (1 Post)
  48. wemerson.januario (1 Post)
  49. dizor (3 Posts)
  50. Stju (5 Posts)
  51. extjs_new (1 Post)
  52. senacle (1 Post)
  53. elderotaku (2 Posts)
  54. Dumas (1 Post)
  55. grzegorz.borkowski (13 Posts)
  56. bueth (1 Post)
  57. nonyus (2 Posts)
  58. travisbell (2 Posts)
  59. Jangla (2 Posts)
  60. woooop (2 Posts)
  61. MH61 (2 Posts)
  62. TDub (1 Post)
  63. antoniode (5 Posts)
  64. xiongzhijian51 (1 Post)
  65. l0ga4 (1 Post)
  66. nohurge (2 Posts)
  67. MarkBOneSmart (1 Post)
  68. The Transporter (2 Posts)
  69. swarnendude (1 Post)
  70. arconen (2 Posts)
  71. mratzloff (9 Posts)
  72. Tom23 (1 Post)
  73. nadim (15 Posts)
  74. hongtj (2 Posts)
  75. max.hauser (2 Posts)
  76. dcw (1 Post)
  77. pilotsnipes (2 Posts)
  78. matthewcrist (2 Posts)
  79. fargs (1 Post)
  80. dvuja2 (2 Posts)
  81. sudhirhv (1 Post)
  82. lanhun (2 Posts)
  83. galoch (1 Post)
  84. frrogoy (1 Post)
  85. tboswell (1 Post)
  86. ozum (5 Posts)
  87. scusyxx (1 Post)
  88. hoca (1 Post)
  89. jayasreepc (1 Post)
  90. Jensen (1 Post)
  91. icarey (5 Posts)
  92. mohan_b (1 Post)
  93. skbach_pointyhat (1 Post)
  94. timbonicus (3 Posts)
  95. rachid.abdessamad (1 Post)
  96. ajitmogra (1 Post)
  97. Korbin (1 Post)
  98. istetska (3 Posts)
  99. ian.young (1 Post)
  100. muncher (2 Posts)
  101. sebterzi (2 Posts)
  102. forestclown (1 Post)
  103. Akey (1 Post)
  104. pret (1 Post)
  105. OpnSrce (1 Post)
  106. sriramkumarp (1 Post)
  107. extjs-dev (4 Posts)
  108. mvoss (1 Post)
  109. thomaskee007 (1 Post)
  110. rajshinny (1 Post)
  111. masood (1 Post)
  112. sebholl (1 Post)
  113. forestkwan (1 Post)
  114. deepthi_r (1 Post)
  115. panshr (1 Post)
  116. brian.moeskau (1 Post)
  117. ldashevskiy (1 Post)
  118. lbilde (1 Post)
  119. aoyii (1 Post)

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."