diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-08 16:24:05 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-08 16:24:05 +0200 |
| commit | 43e7743ebff1b1f41bbb5ae39bcc5bed7d8982e3 (patch) | |
| tree | d27f73cd3725b57cba22cac0692a178c500fd4f2 /public/stylesheets | |
| parent | c6bf63a82007c275d13e9e9e0857434b3b7890c0 (diff) | |
Autosave posts to its own endpoint surface lock loss immediately
Previously piggybacked on the main form's action and relied on a
.js.erb response to update #flash; now posts to the dedicated
autosave route with an explicit _method=put override, and reacts to
a 423 by stopping the timer and showing a persistent banner rather
than letting the next Save discover the conflict on its own.
Diffstat (limited to 'public/stylesheets')
| -rw-r--r-- | public/stylesheets/admin.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 0c0779f..7ae374c 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -200,6 +200,11 @@ span#flash_error, span.warning { | |||
| 200 | padding-bottom: 1px; | 200 | padding-bottom: 1px; |
| 201 | } | 201 | } |
| 202 | 202 | ||
| 203 | span.warning a { | ||
| 204 | color: inherit; | ||
| 205 | text-decoration: underline; | ||
| 206 | } | ||
| 207 | |||
| 203 | /* ============================================================ | 208 | /* ============================================================ |
| 204 | Pagination | 209 | Pagination |
| 205 | ============================================================ */ | 210 | ============================================================ */ |
