notepad

Check-in [287dc7ad2a]
Login

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

Overview
Comment:Stale comment
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:287dc7ad2a45d74e9eb1d78720885264277c1f8c51c758238d39fddccf744853
User & Date: vandys 2019-02-06 14:16:56
Context
2019-02-06
18:53
First pass, global notes. It's easy to forget to manually sync, gotta think about that... check-in: 1ec9053e4d user: vandys tags: master, trunk
14:16
Stale comment check-in: 287dc7ad2a user: vandys tags: master, trunk
2018-11-20
04:34
typo check-in: d620354cb0 user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to js/main.js.

260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
    const onotes = save_notes();
    onotes.tm = server_tm;
    onotes.user = localStorage.user;
    onotes.password = localStorage.password;
    req.send(JSON.stringify(onotes));
}

// Log out (clear localStorage and PHP server side)
function tool_logout() {
    if (!confirm("Clear notes session?")) {
	return;
    }
    localStorage.clear();
    location.reload();
}







|







260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
    const onotes = save_notes();
    onotes.tm = server_tm;
    onotes.user = localStorage.user;
    onotes.password = localStorage.password;
    req.send(JSON.stringify(onotes));
}

// Log out (clear localStorage)
function tool_logout() {
    if (!confirm("Clear notes session?")) {
	return;
    }
    localStorage.clear();
    location.reload();
}