04/25 modified are type, add Floor
This commit is contained in:
@@ -219,7 +219,7 @@
|
||||
id="flagIssueBtn"
|
||||
data-flag-url="{{ url_for('inspections.save_draft_ajax', inspection_id=inspection.id) }}"
|
||||
data-flag-redirect="{{ url_for('inspections.flag_issue', inspection_id=inspection.id) }}">
|
||||
<i class="bi bi-exclamation-triangle"></i> Flag Issue
|
||||
<i class="bi bi-exclamation-triangle"></i> Flag for Attention
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -750,7 +750,7 @@ document.getElementById('inspectionForm').addEventListener('submit', async funct
|
||||
} else {
|
||||
alert('Could not save draft: ' + (json.error || 'Unknown error'));
|
||||
btn.disabled = false;
|
||||
btn.innerHTML = '<i class="bi bi-exclamation-triangle"></i> Flag Issue';
|
||||
btn.innerHTML = '<i class="bi bi-exclamation-triangle"></i> Flag for Attention';
|
||||
}
|
||||
} catch (err) {
|
||||
console.error('Flag Issue draft save error:', err);
|
||||
|
||||
Reference in New Issue
Block a user