Fixed bug that disabled things when saved.... Sort of. At least for posts it was disabling them. I need to test this more. Again...

This commit is contained in:
Scott Idem
2024-11-14 18:52:04 -05:00
parent 804fddcb5a
commit 26faf50058
4 changed files with 8 additions and 0 deletions

View File

@@ -686,6 +686,8 @@ async function handle_hosted_files_uploaded(hosted_file_id_li: string[], hosted_
</div>
</fieldset>
</span>
{:else}
<input type="hidden" name="enable" value={$idaa_slct.archive_content_obj.enable} />
{/if}
</span>

View File

@@ -503,6 +503,8 @@ async function handle_submit_form(event) {
</div>
</fieldset>
</span>
{:else}
<input type="hidden" name="enable" value={$idaa_slct.archive_obj.enable} />
{/if}
</span>

View File

@@ -755,6 +755,8 @@ function send_staff_notification_email() {
</div>
</fieldset>
</span>
{:else}
<input type="hidden" name="enable" value={$idaa_slct.post_obj.enable} />
{/if}
</span>

View File

@@ -1171,6 +1171,8 @@ async function handle_delete_event_obj({event_id, method='disable'}) {
class="checkbox"
>
</label>
{:else}
<input type="hidden" name="enable" value={$lq__event_obj?.enable} />
{/if}
</span>