We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41426
    • 2 Posts
    Hello! I am trying to add a file uploader in a manager page and I got it to work but it doesn't refresh the main area after uploading. If I hit refresh on the combo browser, it still doesn't show up. I have to hit refresh on my main browser then click on the combo browser to get it to pop up and then I can see it.

    It works fine if I use this code:

    xtype: 'modx-combo-browser'
                ,emptyText: 'Upload Status Updates'
                ,name: 'UpdateStatusFile'
                ,id: 'pm-'+Ext.id()+'-url'
                ,allowBlank: true


    It doesn't refresh if I use this code:

    xtype: 'modx-combo-browser'
                ,emptyText: 'Upload Status Updates'
                ,name: 'UpdateStatusFile'
                ,id: 'pm-'+Ext.id()+'-url'
                ,allowBlank: true
                ,source: 2
                ,openTo: '/'
                ,rootId: 'assets/CSV-OrderUpdateUploads/'


    I need to have it not only open to that folder but also it needs to upload to that folder even if someone doesn't bother clicking on the folder in the left pane. How can I get that to happen?