ui: clear stale RAM status on op change, remember the card preset

- ramOpChanged() now clears the previous execution status (result line,
  steps, explorer, progress) only when the Operation value actually
  changes, so switching Explore -> Install Package no longer shows the
  old 'Partial - ELF Modules: no data' until Execute; re-entering the
  RAM subtab still preserves the last result
- ramClearResults() also hides the progress caption
- the Card preset dropdown no longer resets to the placeholder after
  every executed operation (ramSaveCntr -> ramRender rebuilt it) or on
  subtab re-entry: ramRender keeps the current/remembered index,
  ramApplyCard and ramExecute remember the selection for the session,
  and cardsRemove keeps _ramCardIdx aligned via ramCardIdxAfterRemove
- tests: op-change clearing, selection preservation across rebuilds,
  pick/execute remembering, index bookkeeping; SW cache v126 -> v127.
This commit is contained in:
2026-09-12 23:20:26 +03:00
parent b49e6728b4
commit 2494e04984
3 changed files with 148 additions and 9 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'otaman-v126';
const CACHE = 'otaman-v127';
const URLS = [
'index.html',
'help.html',