[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kupu-checkins
Subject:    [kupu-checkins] r44036 - kupu/trunk/kupu/common
From:       limi () codespeak ! net
Date:       2007-06-05 8:38:10
Message-ID: 20070605083810.864AF80A5 () code0 ! codespeak ! net
[Download RAW message or body]

Author: limi
Date: Tue Jun  5 10:38:09 2007
New Revision: 44036

Modified:
   kupu/trunk/kupu/common/kupubeforeunload.js
Log:
Make sure the word "discard" is in the unload protection. Unfortunately, there is \
text we cannot touch in this dialog box (it comes from the browser), which makes more \
verbose than we want. :(

Modified: kupu/trunk/kupu/common/kupubeforeunload.js
==============================================================================
--- kupu/trunk/kupu/common/kupubeforeunload.js	(original)
+++ kupu/trunk/kupu/common/kupubeforeunload.js	Tue Jun  5 10:38:09 2007
@@ -3,9 +3,9 @@
     var BeforeUnloadHandler = function() {
         var self = this;
 
-        this.message = "Your form has not been saved. All changes you have made will \
be lost"; +        this.message = "Discard changes? If you click OK, any changes you \
have made will be lost.";  if (window._) {
-            this.message = _("Your form has not been saved. All changes you have \
made will be lost"); +            this.message = _("Discard changes? If you click OK, \
any changes you have made will be lost.");  };
         this.forms = [];
         this.chkId = [];


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic