Fossil SCM
Fix the webmail screen so that it remembers the folder that is being viewed.
Commit
e0377d04f5a7369be7720b3fc196a30f9dd957864b9a328f0b3a1a9c39773a73
Parent
d73c5fd27e8af1a…
1 file changed
+1
+1
| --- src/webmail.c | ||
| +++ src/webmail.c | ||
| @@ -703,10 +703,11 @@ | ||
| 703 | 703 | got = db_int(0, "SELECT count(*) FROM tmbox"); |
| 704 | 704 | db_prepare(&q, "SELECT * FROM tmbox LIMIT %d", N); |
| 705 | 705 | blob_reset(&sql); |
| 706 | 706 | @ <form action="%R/webmail" method="POST"> |
| 707 | 707 | @ <table border="0" width="100%%"> |
| 708 | + @ <input type="hidden" name="d" value="%d(d)"> | |
| 708 | 709 | @ <tr><td align="left"> |
| 709 | 710 | if( d==2 ){ |
| 710 | 711 | @ <input type="submit" name="read" value="Undelete"> |
| 711 | 712 | @ <input type="submit" name="purge" value="Delete Permanently"> |
| 712 | 713 | }else{ |
| 713 | 714 |
| --- src/webmail.c | |
| +++ src/webmail.c | |
| @@ -703,10 +703,11 @@ | |
| 703 | got = db_int(0, "SELECT count(*) FROM tmbox"); |
| 704 | db_prepare(&q, "SELECT * FROM tmbox LIMIT %d", N); |
| 705 | blob_reset(&sql); |
| 706 | @ <form action="%R/webmail" method="POST"> |
| 707 | @ <table border="0" width="100%%"> |
| 708 | @ <tr><td align="left"> |
| 709 | if( d==2 ){ |
| 710 | @ <input type="submit" name="read" value="Undelete"> |
| 711 | @ <input type="submit" name="purge" value="Delete Permanently"> |
| 712 | }else{ |
| 713 |
| --- src/webmail.c | |
| +++ src/webmail.c | |
| @@ -703,10 +703,11 @@ | |
| 703 | got = db_int(0, "SELECT count(*) FROM tmbox"); |
| 704 | db_prepare(&q, "SELECT * FROM tmbox LIMIT %d", N); |
| 705 | blob_reset(&sql); |
| 706 | @ <form action="%R/webmail" method="POST"> |
| 707 | @ <table border="0" width="100%%"> |
| 708 | @ <input type="hidden" name="d" value="%d(d)"> |
| 709 | @ <tr><td align="left"> |
| 710 | if( d==2 ){ |
| 711 | @ <input type="submit" name="read" value="Undelete"> |
| 712 | @ <input type="submit" name="purge" value="Delete Permanently"> |
| 713 | }else{ |
| 714 |