Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions api/webapp/extPatches/ext4-patches.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,24 @@ Ext4.override(Ext4.data.Store, {
}
});

/**
* Delayed query/type-ahead tasks and remote load callbacks can fire after onDestroy has nulled the store. Avoid throwing by checking if destroyed.
*/
Ext4.override(Ext4.form.field.ComboBox, {
doRawQuery: function() {
if (!this.isDestroyed)
this.callParent(arguments);
},
onTypeAhead: function() {
if (!this.isDestroyed)
this.callParent(arguments);
},
afterQuery: function() {
if (!this.isDestroyed)
this.callParent(arguments);
}
});

/**
* RowExpander plugin is not properly configured to handle sandboxed ExtJS.
*/
Expand Down
Loading