Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1330)

Issue 3589041: Add confirmation checkbox to Delete button (closes issue #252)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by techtonik
Modified:
12 years, 6 months ago
CC:
codereview-discuss_googlegroups.com
Base URL:
http://rietveld.googlecode.com/svn/trunk/
Visibility:
Public.

Description

BUG=http://code.google.com/p/rietveld/issues/detail?id=252

Patch Set 1 #

Patch Set 2 : Updated for IE #

Patch Set 3 : Alternative onsubmit works 100% #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M templates/edit.html View 1 2 1 chunk +3 lines, -1 line 3 comments Download

Messages

Total messages: 16
techtonik
13 years, 4 months ago (2010-12-11 15:14:13 UTC) #1
gvrpython
Doesn't this require changes to the view code that handles the POST request? On Sat, ...
13 years, 4 months ago (2010-12-11 16:06:09 UTC) #2
techtonik
No. Delete button doesn't activate if onclick handler returns false. Copy/paste this form into http://www.tutorialspoint.com/cgi-bin/practice.cgi?file=javascript_1 ...
13 years, 4 months ago (2010-12-11 16:18:52 UTC) #3
gvrpython
Ok! On Sat, Dec 11, 2010 at 8:18 AM, <techtonik@gmail.com> wrote: > No. Delete button ...
13 years, 4 months ago (2010-12-11 16:37:15 UTC) #4
techtonik
Actually, the IE behaved not so good, so I've updated the patch. On 2010/12/11 16:37:15, ...
13 years, 4 months ago (2010-12-11 17:06:48 UTC) #5
techtonik
Damn. I refuse to understand why this code works on http://www.tutorialspoint.com/cgi-bin/practice.cgi?file=javascript_1 but not it Rietveld? ...
13 years, 4 months ago (2010-12-11 18:02:03 UTC) #6
imirkin_alum.mit.edu
I think you need to add a onsubmit= on the form, not an onclick on ...
13 years, 4 months ago (2010-12-11 21:29:46 UTC) #7
techtonik
I found the cause thanks to Chrome. It appears that our M_clickCommon handler (used only ...
13 years, 4 months ago (2010-12-12 00:36:38 UTC) #8
bruceleban
I think confirmation after you click delete is a bit more common than confirming before ...
13 years, 4 months ago (2010-12-12 04:24:33 UTC) #9
techtonik
http://jsfiddle.net/UAFp9/ Looks interesting, but to make it work on IE, we need to make our ...
13 years, 4 months ago (2010-12-12 09:44:47 UTC) #10
gvrpython
Email test, please ignore.
12 years, 11 months ago (2011-05-11 02:19:23 UTC) #11
techtonik
My IE is broken, so I won't be able to test any JS that is ...
12 years, 9 months ago (2011-07-06 15:21:07 UTC) #12
Andi Albrecht
http://codereview.appspot.com/3589041/diff/10001/templates/edit.html File templates/edit.html (right): http://codereview.appspot.com/3589041/diff/10001/templates/edit.html#newcode39 templates/edit.html:39: <input type="checkbox" id="confirm-delete"> A plain checkbox before a button ...
12 years, 9 months ago (2011-07-07 19:27:42 UTC) #13
bruceleban
http://codereview.appspot.com/3589041/diff/10001/templates/edit.html File templates/edit.html (right): http://codereview.appspot.com/3589041/diff/10001/templates/edit.html#newcode39 templates/edit.html:39: <input type="checkbox" id="confirm-delete"> On 2011/07/07 19:27:43, Andi Albrecht wrote: ...
12 years, 9 months ago (2011-07-07 22:23:44 UTC) #14
gvrpython
This is a test, attempting to send email from guido@python.org. Expect it to fail.
12 years, 6 months ago (2011-10-24 17:05:21 UTC) #15
techtonik
12 years, 6 months ago (2011-10-25 09:04:48 UTC) #16
On 2011/10/24 17:05:21, gvrpython wrote:
> This is a test, attempting to send email from mailto:guido@python.org. Expect
it to
> fail.

Apparently, it didn't.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b