1. #501
    Sencha User jbird526's Avatar
    Join Date
    Jan 2008
    Location
    Westminster, MD
    Posts
    128
    Vote Rating
    0
    jbird526 is on a distinguished road

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    Button disappearing seems to be BrowseButton problem. Try to ask loeppky to look at it.
    Im sorry, upon further investigation, there are known issues with IE 6/7 with the BrowseButton.

  2. #502
    Sencha User
    Join Date
    Mar 2007
    Posts
    56
    Vote Rating
    0
    sdrew is on a distinguished road

      0  

    Default


    Thsi is how I fixed the browse button disappearing issue in Ext.ux.UploadPanel.js in the onRemoveFile:function, comment out these lines:

    // if (wrap) {
    // wrap.remove();
    //}

    Steve.

  3. #503
    Sencha User
    Join Date
    Mar 2007
    Posts
    56
    Vote Rating
    0
    sdrew is on a distinguished road

      0  

    Default memory leak issue

    memory leak issue


    Quote Originally Posted by jsakalos View Post
    Hmm, difficult to say anything reasonable on that. Is it UploadPanel, IE7 (why not IE6 then?) or Ext problem? No idea.

    Somebody else?
    Its not Ext as I use alot of Ext and windows/forms etc with IE7 and no leaks, only adding UploadPanel introduce that and as I explained your website shows the problem also.

    If you notice the leaks they are elements added by Ext.ux.UploadPanel.js in the initComponent function.

    It adds up to about 10-20 Meg each time you open the uploadPanel window and add a file to it. IE7 never gets that memory back so on workstations average memory they slowed down very quickly.

    I put alerts in the destroy functions of UploadPanel, but they never get called, should they on page unload?

    I'm sure its another IE7 bug, but must be some way to workaround that.

    Thanks.
    Steve.

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

      0  

    Default


    Quote Originally Posted by sdrew View Post
    Thsi is how I fixed the browse button disappearing issue in Ext.ux.UploadPanel.js in the onRemoveFile:function, comment out these lines:

    // if (wrap) {
    // wrap.remove();
    //}

    Steve.
    might better to simply check for IE (so you don't end up breaking the code):
    Code:
    if (wrap && !Ext.isIE) {
        wrap.remove();
    }

  5. #505
    Sencha User jbird526's Avatar
    Join Date
    Jan 2008
    Location
    Westminster, MD
    Posts
    128
    Vote Rating
    0
    jbird526 is on a distinguished road

      0  

    Default


    Quote Originally Posted by mystix View Post
    might better to simply check for IE (so you don't end up breaking the code):
    Code:
    if (wrap && !Ext.isIE) {
        wrap.remove();
    }
    Ive tried both ways of commenting out and adding the isIE. Still not working for me but I really appreciate the response by the community. Im sure its my implementation, because I am still having problems with getting the browse button to click. The hovering DIV never fully overlays the button for me.

  6. #506
    Ext User
    Join Date
    Nov 2007
    Posts
    1
    Vote Rating
    0
    ferrenliu is on a distinguished road

      0  

    Default FileTree error in IE8 beta2

    FileTree error in IE8 beta2


    I catch an error, when I use this filetree to create 'NewDir'. The error just throw in IE8 beta2 like below
    ------------------------
    Type not equal
    ------------------------
    I trace and found out the error has be throw at the code of ExtJs 2.2. Detail is

    node.ui.getEl().scrollIntoView(this.tree.body);

    Any body know how to fix it?

  7. #507
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,537
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Generally, Ext doesn't support browser's beta releases, however, Ext team is glad to be informed on problems. If it's core Ext problem, find please an appropriate thread and post it there.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  8. #508

    Exclamation misleading menu item & server security issue on demo site

    misleading menu item & server security issue on demo site


    Quote Originally Posted by jsakalos View Post
    I admit it looks misleading. Upload file is menu item of UploadPanel, including everything below it.
    Not exactly sure why that menu item is needed at all? Is it supposed to be a "header" for the display items below it? IMHO It is very misleading. Pressing Ctrl-U on FF 2/Linux causes View Source popup. Why not remove this menu item? Is not the 'Add' item by itself clear enough?

    Also, unrelated, I noticed a little security issue on your server side... Creating a folder with a name such as "../aaa" underneath a folder named "hello" causes the folder to be created one level up as "helloaaa". Creating folders such as "../../../hello" doesn't do anything noticeable (presumably it created the folder on your server in a place that I shouldn't have access to!?!)

    Another little irritating issue (FF2/Linux), creating a new folder, causes the window to scroll up to the point where New Folder is shown at the very top.

    Thanks for your great ux!

  9. #509
    Ext User
    Join Date
    Jul 2008
    Posts
    3
    Vote Rating
    0
    wulfshayde is on a distinguished road

      0  

    Default cannot decode JSON error

    cannot decode JSON error


    Hi Saki,

    Great plugin, though I've had an error arise that I can't figure out for the life of me. I'm using Coldfusion for the server side language and uploads were working, but recently they've stopped.

    This is my .js
    Code:
        var upform = new Ext.ux.UploadPanel({
                 id:'uppanel',
                 url:'/index.cfm',
                 path:'/site/modules/IT/UserFiles/attachments/',
                 baseParams:{
                     event:'addAttachment',
                     returnFormat:'json'
                 },
                 maxFileSize:1048576,
                 bodyStyle: 'width: 99%; margin-bottom: 10px;'
        });
    And my back-end cf code:
    Code:
        <cffunction name="addAttachment" access="public" output="true" returntype="void">
            <cfargument name="event" type="any" />
            <cfoutput>{"success":true}</cfoutput>
            <cfabort />
        </cffunction>
    I keep getting the error "cannot decode JSON object"...

    I'm only responding to the request with that one line {"success":true} so what am I missing?

    Thanks in advance...
    Last edited by mystix; 15 Sep 2008 at 10:38 PM. Reason: post code in [code][/code] tags. see http://extjs.com/forum/misc.php?do=bbcode#code

  10. #510
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,537
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Put a breakpoint in the code and see what is real responseText received. Generally, if it had worked before, I'd search for the change that could have caused it is failing now. New version of something?
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


Thread Participants: 173

  1. danvega (10 Posts)
  2. jay@moduscreate.com (1 Post)
  3. jweber (1 Post)
  4. jt (1 Post)
  5. slacker775 (2 Posts)
  6. vmorale4 (12 Posts)
  7. stever (2 Posts)
  8. Dumbledore (9 Posts)
  9. ismoore (1 Post)
  10. mystix (8 Posts)
  11. sdrew (3 Posts)
  12. mxracer (1 Post)
  13. Foggy (3 Posts)
  14. madrabaz (8 Posts)
  15. Thorsten (4 Posts)
  16. Fabyo (1 Post)
  17. mschaefer (11 Posts)
  18. tchitani (3 Posts)
  19. loeppky (11 Posts)
  20. damsfx (1 Post)
  21. cmendez21 (7 Posts)
  22. anjelika (3 Posts)
  23. randcasburn (3 Posts)
  24. mjlecomte (3 Posts)
  25. esoteric (10 Posts)
  26. pravin_bluebird (1 Post)
  27. ZooKeeper (4 Posts)
  28. george.antoniadis (1 Post)
  29. fermo111 (1 Post)
  30. glaforge (2 Posts)
  31. Spirit (1 Post)
  32. newc_k (1 Post)
  33. adam.jimenez (9 Posts)
  34. juandj (10 Posts)
  35. rballman (2 Posts)
  36. Michelangelo (6 Posts)
  37. kk_kkk (7 Posts)
  38. issomesmo (5 Posts)
  39. mashiki (1 Post)
  40. juljupy (2 Posts)
  41. cafebabe (1 Post)
  42. ferrenliu (1 Post)
  43. smartlit (14 Posts)
  44. chunkT (1 Post)
  45. mankz (6 Posts)
  46. luisparada (4 Posts)
  47. iDevelopment (4 Posts)
  48. cblin (9 Posts)
  49. ljaeren (2 Posts)
  50. endlichstudent (9 Posts)
  51. RacingTomcat (1 Post)
  52. lobo-tuerto (5 Posts)
  53. maximumcoder (1 Post)
  54. calavera (3 Posts)
  55. ningle (5 Posts)
  56. jbird526 (4 Posts)
  57. sekundek (8 Posts)
  58. GokhanNL (1 Post)
  59. markkl (1 Post)
  60. basshcm (2 Posts)
  61. dbraiden (2 Posts)
  62. incaic (2 Posts)
  63. silcreval (6 Posts)
  64. sirioz10 (2 Posts)
  65. iulian (2 Posts)
  66. hsurya (7 Posts)
  67. johnrembo (2 Posts)
  68. fraric (4 Posts)
  69. Silver Paladin (5 Posts)
  70. Rafael (2 Posts)
  71. treqx (1 Post)
  72. spectrus (6 Posts)
  73. JoyfulBobHome (2 Posts)
  74. fxlacroix (3 Posts)
  75. jove4015 (1 Post)
  76. rtrocc (12 Posts)
  77. carl23934 (1 Post)
  78. ClemsonJeeper (1 Post)
  79. lagos.tout (2 Posts)
  80. craigharmonic (3 Posts)
  81. siebertm (3 Posts)
  82. zombeerose (11 Posts)
  83. keckeroo (1 Post)
  84. dotchris (7 Posts)
  85. fallenone (4 Posts)
  86. yhwh (1 Post)
  87. harirama (2 Posts)
  88. scroll (1 Post)
  89. mlim1972 (4 Posts)
  90. Arthur.Blake (1 Post)
  91. nileshgund (1 Post)
  92. blow (1 Post)
  93. piyushjain7 (1 Post)
  94. njeriextjs (3 Posts)
  95. hileon (1 Post)
  96. bomka (15 Posts)
  97. --maty (1 Post)
  98. WhiteRussian (1 Post)
  99. kpopov (1 Post)
  100. captainfish (5 Posts)
  101. Gosa (5 Posts)
  102. extjsF4n (1 Post)
  103. Chida (1 Post)
  104. Nthalk (2 Posts)
  105. nescha (2 Posts)
  106. jorgemuza (3 Posts)
  107. Eric24 (1 Post)
  108. edui (1 Post)
  109. shadoi (4 Posts)
  110. acidfilez (1 Post)
  111. BrainDrain (2 Posts)
  112. dimitrij.zub (1 Post)
  113. ixnixnixn (2 Posts)
  114. calicoder (2 Posts)
  115. wes (1 Post)
  116. mammerman (1 Post)
  117. Voronchuk (3 Posts)
  118. jwmianzu (3 Posts)
  119. gnomie (2 Posts)
  120. pflammer (2 Posts)
  121. The0s (2 Posts)
  122. gogogo521 (1 Post)
  123. tegel (2 Posts)
  124. wulfshayde (2 Posts)
  125. mikecx (2 Posts)
  126. paul@demiduk.com (1 Post)
  127. romulodelazzari (1 Post)
  128. sabline (2 Posts)
  129. mikecc (8 Posts)
  130. dan.plifeye (2 Posts)
  131. JGALFO (1 Post)
  132. Stephan Schrade (3 Posts)
  133. khurri.saleem (1 Post)
  134. voidus (1 Post)
  135. Shockdoc1 (1 Post)
  136. dport (3 Posts)
  137. jahman (3 Posts)
  138. Pachat (4 Posts)
  139. BIS (1 Post)
  140. sanraj (4 Posts)
  141. deemonas (1 Post)
  142. jpipas (2 Posts)
  143. martinrame (2 Posts)
  144. MrEnirO (2 Posts)
  145. elona (1 Post)
  146. cwford (6 Posts)
  147. triptonemeister (2 Posts)
  148. gonzalez (1 Post)
  149. wallacer (1 Post)
  150. Natalie (2 Posts)
  151. Phatnine (2 Posts)
  152. js_coder (3 Posts)
  153. Bobrovnik (4 Posts)
  154. kender (1 Post)
  155. avsomeren (2 Posts)
  156. rkulkarni (2 Posts)
  157. lxfliu (2 Posts)
  158. pbaker99 (2 Posts)
  159. naf305 (2 Posts)
  160. cybervirax (1 Post)
  161. AmrMostafa (1 Post)
  162. tumbochka (1 Post)
  163. exdelierium (1 Post)
  164. toubeau (4 Posts)
  165. nosferatum (1 Post)
  166. Boy.Kortman (1 Post)
  167. erlinis (1 Post)
  168. nhocoi (2 Posts)
  169. varunach (1 Post)
  170. _DR_ (1 Post)
  171. rodenp (1 Post)
  172. tutuianu_daniel (1 Post)
  173. Shabneez (2 Posts)