Note that there are some explanatory texts on larger screens.

plurals
  1. POExtjs 3.3 IE8 chained events is breaking
    primarykey
    data
    text
    <p>This one is wired.</p> <p>This fires from a grid toolbar button click:</p> <pre><code>// fires when the client hits the add attachment button. onAddAttachmentClick: function () { var uploadAttachmentsWindow = new Nipendo.ProformaInvoice.Attachment.UploadWindow({ invoice: this.invoice, maxFileSizeInMB: this.maxFileSizeInMB }); uploadAttachmentsWindow.on('uploadcomplete', function (win, message) { if (message.msg !== 'success') { return; } win.close(); var store = this.getStore(); store.setBaseParam('useCache', false); store.load(); this.fireEvent( 'attachmentuploaded', this.invoice.ProformaInvoiceNumber, this.invoice.VendorSiteID, this.invoice.CustomerSiteID); }, this); uploadAttachmentsWindow.show(); } // eo onAddAttachmentClick </code></pre> <p>This is what happens on the uploadcomplete event:</p> <pre><code>this.uploadBtn.on('click', function () { var form = this.uploadForm.getForm(); if (!form.isValid()) { return; } form.submit({ url: 'XXX.ashx', waitMsg: Nipendo.Localization.UploadingAttachment, scope: this, success: function (form, action) { this.fireEvent('uploadcomplete', this, { msg: 'success', response: action.response }); }, failure: function (form, action) { switch (action.failureType) { case Ext.form.Action.CLIENT_INVALID: this.fireEvent('uploadcomplete', this, { msg: 'Form fields may not be submitted with invalid values' }); break; case Ext.form.Action.CONNECT_FAILURE: this.fireEvent('uploadcomplete', this, { msg: 'Ajax communication failed' }); break; case Ext.form.Action.SERVER_INVALID: Ext.Msg.alert(action.result.title, action.result.message); this.fireEvent('uploadcomplete', this, { msg: action.result.message }); break; } } }); }, this); </code></pre> <p>On IE 8 I am getting this error in the debugger:</p> <p><img src="https://i.stack.imgur.com/obBDG.png" alt="enter image description here"></p> <p>I have no idea what object is missing... from my check they are all defined.</p> <p>Any idea anyone?</p> <p>Notice that I have an event firing from a listener (I am suspecting it to be the root of the problem).</p> <p>It is hard to see but the error occuers in ext-all.js in the fire method.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload