Need typeof here.
authorJan Schneider <jan@horde.org>
Mon, 12 Apr 2010 22:38:54 +0000 (00:38 +0200)
committerJan Schneider <jan@horde.org>
Mon, 12 Apr 2010 22:38:54 +0000 (00:38 +0200)
kronolith/js/kronolith.js

index 73948c1..be9121a 100644 (file)
@@ -4108,7 +4108,7 @@ KronolithCore = {
     {
         this.closeRedBox();
 
-        if (Object.isUndefined(kronolithETagAc)) {
+        if (typeof kronolithETagAc == 'undefined') {
             this.editEvent.bind(this, calendar, id, date).defer();
             return;
         }