Author: danydb
Date: 2011-10-30 19:15:37 +0100 (Sun, 30 Oct 2011)
New Revision: 4276

Modified:
   phpcompta/trunk/html/js/calendar.js
Log:
Correct calendar for prototype 1.9

Modified: phpcompta/trunk/html/js/calendar.js
===================================================================
--- phpcompta/trunk/html/js/calendar.js 2011-10-29 23:30:17 UTC (rev 4275)
+++ phpcompta/trunk/html/js/calendar.js 2011-10-30 18:15:37 UTC (rev 4276)
@@ -1790,7 +1790,11 @@
        return str;
 };
 
-Date.prototype.__msh_oldSetFullYear = Date.prototype.setFullYear;
+    if ( Date.prototype.__msh_oldSetFullYear == null )
+    {
+        Date.prototype.__msh_oldSetFullYear = Date.prototype.setFullYear;
+    }
+//Date.prototype.__msh_oldSetFullYear = Date.prototype.setFullYear;
 Date.prototype.setFullYear = function(y) {
        var d = new Date(this);
        d.__msh_oldSetFullYear(y);


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to