notepad

Check-in [37e94bb1ec]
Login

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

Overview
Comment:Cleanly cancel entirely new message
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:37e94bb1ec6c7489f0ff9db088f7289b66d65ea327a93c4460fd8b0f8e99f8f2
User & Date: vandys 2018-10-14 22:08:32
Context
2018-10-15
20:21
Make note text scrollable for long lines, rather than wrapping. check-in: 2458e04572 user: vandys tags: master, trunk
2018-10-14
22:08
Cleanly cancel entirely new message check-in: 37e94bb1ec user: vandys tags: master, trunk
22:08
Tweak appearance bit check-in: 978665e914 user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to js/main.js.

163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
    // Back to menu
    to_menu();
}

// Never mind, dump any changes
function edit_cancel() {
    // Double check?
    if (entryContent.value != cur_item.content) {
	if (!confirm("Discard changes?")) {
	    return;
	}
    }

    // Back to main menu
    to_menu();







|







163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
    // Back to menu
    to_menu();
}

// Never mind, dump any changes
function edit_cancel() {
    // Double check?
    if ((cur_item != null) && (entryContent.value != cur_item.content)) {
	if (!confirm("Discard changes?")) {
	    return;
	}
    }

    // Back to main menu
    to_menu();