Fossil

Check-in [a7547610]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Typo fix in diff context loader XHR error handler, with thanks to Florian.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a75476100fe7091e30e5d79000361b77999ae32bd5dc63ca50d2fd4e586cc930
User & Date: stephan 2021-10-09 09:20:32
Context
2021-10-09
14:43
Version 2.17 ... (check-in: f48180f2 user: drh tags: trunk, release, version-2.17)
09:20
Typo fix in diff context loader XHR error handler, with thanks to Florian. ... (check-in: a7547610 user: stephan tags: trunk)
04:12
/chat: a long-shot potential workaround for the weird intermittent bug where the Pale Moon browser gives focus to the preview (non-)button instead of the input field. Worst case, it behaves the same as it does now. ... (check-in: e3e62a0d user: stephan tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/fossil.diff.js.

580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
      }
      //console.debug("fetchChunk(",fetchType,")",up);
      fOpt.onerror = function(err){
        if(self.e/*guard against a late-stage onerror() call*/){
          self.msg(true,err.message);
          self.$fetchQueue.length = 0;
        }else{
          Diff.config.chunkFetch.onerror.call(this,e);
        }
      };
      Diff.fetchArtifactChunk(fOpt);
      return this;
    }
  };








|







580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
      }
      //console.debug("fetchChunk(",fetchType,")",up);
      fOpt.onerror = function(err){
        if(self.e/*guard against a late-stage onerror() call*/){
          self.msg(true,err.message);
          self.$fetchQueue.length = 0;
        }else{
          Diff.config.chunkFetch.onerror.call(this,err);
        }
      };
      Diff.fetchArtifactChunk(fOpt);
      return this;
    }
  };