Fossil SCM

Remove stray debug output.

stephan 2026-06-08 14:46 UTC forum-editor-2026
Commit d41bd6582127e3a09e8accc17e50ee3d7ab828801c7e3d793430242d395e4699
1 file changed -4
--- src/fossil.attach.js
+++ src/fossil.attach.js
@@ -345,23 +345,19 @@
345345
return true;
346346
}
347347
return false;
348348
};
349349
const pasteThing = (event, thing)=>{
350
- console.debug("pasteThing 1",thing);
351350
if( pasteImage(event, thing) ) return true;
352
- console.debug("pasteThing 2",thing);
353351
if( 'file' === thing.kind ){
354352
event.preventDefault();
355353
const blob = thing.getAsFile();
356354
if( blob ){
357
- console.debug("Pasting unknown thing...", thing, blob);
358355
this.#injestBlob(rowObj, blob);
359356
return true;
360357
}
361358
}
362
- console.debug("pasteThing nope", thing);
363359
return false;
364360
};
365361
eDesc?.addEventListener?.('paste', (e) => {
366362
e.stopPropagation();
367363
const items = (e.clipboardData || e.originalEvent.clipboardData)?.items;
368364
--- src/fossil.attach.js
+++ src/fossil.attach.js
@@ -345,23 +345,19 @@
345 return true;
346 }
347 return false;
348 };
349 const pasteThing = (event, thing)=>{
350 console.debug("pasteThing 1",thing);
351 if( pasteImage(event, thing) ) return true;
352 console.debug("pasteThing 2",thing);
353 if( 'file' === thing.kind ){
354 event.preventDefault();
355 const blob = thing.getAsFile();
356 if( blob ){
357 console.debug("Pasting unknown thing...", thing, blob);
358 this.#injestBlob(rowObj, blob);
359 return true;
360 }
361 }
362 console.debug("pasteThing nope", thing);
363 return false;
364 };
365 eDesc?.addEventListener?.('paste', (e) => {
366 e.stopPropagation();
367 const items = (e.clipboardData || e.originalEvent.clipboardData)?.items;
368
--- src/fossil.attach.js
+++ src/fossil.attach.js
@@ -345,23 +345,19 @@
345 return true;
346 }
347 return false;
348 };
349 const pasteThing = (event, thing)=>{
 
350 if( pasteImage(event, thing) ) return true;
 
351 if( 'file' === thing.kind ){
352 event.preventDefault();
353 const blob = thing.getAsFile();
354 if( blob ){
 
355 this.#injestBlob(rowObj, blob);
356 return true;
357 }
358 }
 
359 return false;
360 };
361 eDesc?.addEventListener?.('paste', (e) => {
362 e.stopPropagation();
363 const items = (e.clipboardData || e.originalEvent.clipboardData)?.items;
364

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button