Overview
Comment:Make sure the dialog still exists, in some cases (auto-close) it can already be gone
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: 88260a58741fac8e7223dacf1ac04567a4a5a9be982bd3a2bac2f9e2268dbc20
User & Date: bohwaz on 2021-10-28 22:31:06
Other Links: manifest | tags
Context
2021-10-31
19:05
Add linked users to CSV export check-in: b06be4f7c4 user: bohwaz tags: trunk, stable
2021-10-28
22:31
Make sure the dialog still exists, in some cases (auto-close) it can already be gone check-in: 88260a5874 user: bohwaz tags: trunk, stable
22:30
Do not mark as checked the first fee radio button if one is already selected check-in: b75012a0b0 user: bohwaz tags: trunk, stable
Changes

Modified src/www/admin/static/scripts/global.js from [0da4b43a86] to [df19215e79].

138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
			event = 'load';
		}
		else if (tag == 'audio' || tag == 'video') {
			event = 'canplaythrough';
		}

		if (event) {
			content.addEventListener(event, () => g.dialog.classList.add('loaded'));
		}
		else {
			g.dialog.classList.add('loaded');
		}

		document.body.appendChild(g.dialog);








|







138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
			event = 'load';
		}
		else if (tag == 'audio' || tag == 'video') {
			event = 'canplaythrough';
		}

		if (event) {
			content.addEventListener(event, () => { if (g.dialog) g.dialog.classList.add('loaded'); });
		}
		else {
			g.dialog.classList.add('loaded');
		}

		document.body.appendChild(g.dialog);