[FIXED] [#753] [3.2.0] Multiupload button in Grid fails in Firefox

Page 1 of 2 12 LastLast
  1. #1

    [FIXED] [#753] [3.2.0] Multiupload button in Grid fails in Firefox

    Hi guys!

    I want to report that the button "Multiupload" within a grid toolbar makes that Grid do not render correctly in firefox.

    You can see this behavior in your examples page
    https://examples3.ext.net/#/MultiUpload/Basic/Grid/

    I am using Firefox 36.0 on Windows 7

    Thanks
    Last edited by Daniil; Mar 10, 2015 at 7:03 AM. Reason: [FIXED] [#753] [3.2.0]
  2. #2
    Grid do not render correctly in firefox.
    Can you expand on that?

    It seems to be ok in version 36.0.1.
    Click image for larger version. 

Name:	mu001.png 
Views:	3 
Size:	25.3 KB 
ID:	22291
  3. #3
    When I try to open the sample the following message is displayed:
    "Something went wrong while loading SWFUpload. If this were a real application we'd clean up and then give you an alternative"
    Click image for larger version. 

Name:	ext.net-multiupload.jpg 
Views:	6 
Size:	87.4 KB 
ID:	22301

    On my application, the Grid is not displayed. It looks like as the attached image on your examples page
  4. #4
    Click image for larger version. 

Name:	mu002.png 
Views:	1 
Size:	46.7 KB 
ID:	22311

    Can you check if your flash player is activated?
    Last edited by RCN; Mar 06, 2015 at 5:48 PM.
  5. #5
    When flash player is disabled:

    Click image for larger version. 

Name:	mu003.png 
Views:	4 
Size:	28.0 KB 
ID:	22321

    Click image for larger version. 

Name:	mu004.png 
Views:	2 
Size:	22.5 KB 
ID:	22331
  6. #6
    I understand that the Multiupload functionality will not work if flash player is disabled.. but What about the Grid.. it stopped working.

    I can`t display my data.

    There is a way to disable the button on toolbar when flash player is disabled, without affecting my grid?
    Last edited by albadiaz; Mar 06, 2015 at 6:09 PM.
  7. #7
    I agree with you that it seems to be a bug.

    There is a way to disable the button on toolbar when flash player is disabled...
    As far as i know there is no safe / easy way to do that.

    Let's gonna wait a position from Ext.NET team.
    Last edited by RCN; Mar 09, 2015 at 12:19 PM.
  8. #8
    Thanks.. I will wait for you
  9. #9
    Hello everybody,

    @albadiaz, welcome to the Ext.NET forums! Please put this into the page's <head> and retest.

    Raphael, thank you for the attention to this thread!

    <script>
        Ext.net.MultiUpload.override({
            initSWFUpload : function () {
                var settings = {
                    flash_url: this.flashUrl,
                    upload_url: this.uploadUrl,
                    file_size_limit: this.fileSizeLimit,
                    file_types: this.fileTypes,
                    file_types_description: this.fileTypesDescription,
                    file_upload_limit: this.fileUploadLimit !== 0 ? this.fileUploadLimit + 1 : 0,
                    file_queue_limit: this.fileQueueLimit,
                    post_params: this.postParams,            
                    button_window_mode: "opaque",
                    button_disabled : this.disabled,
                    file_post_name: this.filePostName,
                    use_query_string : this.useQueryString,
                    preserve_relative_urls : this.preserveRelativeUrls,
                    requeue_on_error : this.requeueOnError,
                    http_success : this.httpSuccess,
                    assume_success_timeout : this.assumeSuccessTimeout,
                    prevent_swf_caching : this.preventSwfCaching,
                    debug: this.debug,
                    button_placeholder: this.el.down("div.x-swfplaceholder").dom,
    
                    file_queued_handler: Ext.Function.bind(this.swfUploadfileQueued, this),
                    file_dialog_complete_handler: Ext.Function.bind(this.swfUploadFileDialogComplete, this),
                    upload_start_handler: Ext.Function.bind(this.swfUploadUploadStarted, this),
                    upload_error_handler: Ext.Function.bind(this.swfUploadUploadError, this),
                    upload_progress_handler: Ext.Function.bind(this.swfUploadUploadProgress, this),
                    upload_success_handler: Ext.Function.bind(this.swfUploadSuccess, this),
                    upload_complete_handler: Ext.Function.bind(this.swfUploadComplete, this),
                    file_queue_error_handler: Ext.Function.bind(this.swfUploadFileQueError, this),
                    swfupload_load_failed_handler: Ext.Function.bind(this.swfUploadLoadFailed, this),
                    swfupload_loaded_handler : Ext.Function.bind(this.flashReady, this),
                    swfupload_preload_handler : Ext.Function.bind(this.swfUploadPreload, this),
                    file_dialog_start_handler: Ext.Function.bind(this.fileDialogStartHandler, this),
                    upload_resize_start_handler: Ext.Function.bind(this.uploadResizeStart, this),
                    mouse_click_handler: Ext.Function.bind(this.mouseClickHandler, this),
                    mouse_out_handler: Ext.Function.bind(this.mouseOutHandler, this),
                    mouse_over_handler: Ext.Function.bind(this.mouseOverHandler, this),
                    debug_handler: Ext.Function.bind(this.debugHandler, this),
                    queue_complete_handler : Ext.Function.bind(this.queueCompleteHandler, this)
                };
    
                if (this.flashButton) {
                    Ext.apply(settings, this.flashButton);
                }
    
                this.multiUpload = new SWFUpload(settings);
                    
                if (this.multiUpload.movieElement) {
                    this.createUploadButton();
                    this.flashReady();
                }
            },
    
            afterRender : function () {
                this.callSuper(arguments);
    
                this.initSWFUpload();
    
                if (this.multiUpload.movieElement) {
                    this.initDragAndDropUploader();
                }
            }
        });
    </script>
  10. #10
    Thanks.. The grid is displayed correctly.
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: Dec 05, 2014, 7:29 AM
  2. [CLOSED] MultiUpload with Firefox - Unauthorized
    By ViDom in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Jul 28, 2014, 7:18 AM
  3. [CLOSED] MultiUpload fails after publish
    By rsnead in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: May 21, 2014, 6:55 PM
  4. Replies: 0
    Last Post: Mar 25, 2010, 7:59 PM
  5. Button StyleSpec Fails
    By Timothy in forum Bugs
    Replies: 2
    Last Post: Aug 21, 2008, 7:33 PM

Posting Permissions