Skip to content

Commit 66f39a3

Browse files
Improve error messaging
1 parent d1f513b commit 66f39a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/views/scheduleInstrument.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ <h3>Time Scheduled</h3>
175175
instrument = instrument ? parseInt(instrument) || null : null;
176176

177177
if (!project) {
178-
alert('No project selected');
178+
document.getElementById('calendar').innerText = 'Invalid or no project specified';
179179
return;
180180
}
181181

0 commit comments

Comments
 (0)