> On Saturday, February 5, 2022 at 7:09:35 AM UTC-8 [email protected]
>> wrote:
>>
> [...]
>
>> Also, when I click the "Reset file save location" button, nothing in the
>>> indexdb gets deleted. The button doesn't seem to have any effect in spite
>>> of the log messages:
>>>
>>> $:/plugins/slaymaker1907/browser-nativesaver/saver.js:495 Reseting file
>>> saver...
>>> $:/plugins/slaymaker1907/browser-nativesaver/saver.js:506 Reset file
>>> save location.
>>>
>>>
> Does the reset button work for you? The only way I've been able to get the
> save location to reset is to use developer tools to clear out the indexdb.
>


I changed this line:

window.indexedDB.deleteDatabase(UNIQUE_PLUGIN_ID);

to this:

window.indexedDB.deleteDatabase(DB_NAME);


and now the reset button is working for me.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAO5X8Czfhhnzi_NY-Y60FEMTM3D3HWT%3DSK0ZCyOb68heUBrbjQ%40mail.gmail.com.

Reply via email to