Skip to content

Commit

Permalink
Merge branch '2024.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlabci committed Nov 11, 2024
2 parents ae614fd + d385882 commit fa11771
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tine20/library/ExtJS/src/data/Store.js
Original file line number Diff line number Diff line change
Expand Up @@ -1270,12 +1270,16 @@ myStore.reload(lastOptions);
if (this.isDestroyed === true) {
return;
}
if (options && options.add !== true && ((options.transactionId && this.lastTransactionId !== options.transactionId) || this.fireEvent('beforeloadrecords', o, options, success, this) === false)) {
this.options = options;

if (options && options.add !== true
&& ((options.transactionId && this.lastTransactionId !== options.transactionId) || this.fireEvent('beforeloadrecords', o, options, success, this) === false)
) {
// fire load event so loading indicator stops
this.fireEvent('load', this, this.data.items, this.options);
return;
}
this.options = options;

if(!o || success === false){
if(success !== false){
this.fireEvent('load', this, [], options);
Expand Down

0 comments on commit fa11771

Please sign in to comment.