aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/zurich/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/zurich/js.js b/web/cobrands/zurich/js.js
index d895789f1..f3977161c 100644
--- a/web/cobrands/zurich/js.js
+++ b/web/cobrands/zurich/js.js
@@ -122,7 +122,7 @@ $(function() {
// If the user has clicked to rotate a photo and has edited other
// fields, ask for confirmation before submitting the form
if (/rotate_photo/.test(clicked) && form_fields_changed) {
- var message = $(this).parent().data('confirm');
+ var message = $(this).find("input[name="+clicked+"]").parent().data('confirmMsg');
if (!confirm(message)) {
return false;
}