# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/lib/form/yui/dateselector/dateselector.js
--- moodle/lib/form/yui/dateselector/dateselector.js Base (1.1)
+++ moodle/lib/form/yui/dateselector/dateselector.js Locally Modified (Based On 1.1)
@@ -44,33 +44,6 @@
     });
 
     /**
-     * Override the default inDoc method as it is broken in IE
-     *
-     * YUI Bug: http://yuilibrary.com/projects/yui3/ticket/2529157
-     * Example location: lib/yui/3.1.1/build/dom/dom-debug.js
-     */
-    Y.DOM.inDoc = function(element, doc) {
-        // there may be multiple elements with the same ID
-        doc = doc || element['ownerDocument'];
-        var nodes = [],
-            ret = false,
-            i,
-            node;
-
-        if (!element.getAttribute('id')) {
-            element.setAttribute('id', Y.guid());
-        }
-        nodes = Y.DOM.allById(element.id, doc);
-        for (i = 0; node = nodes[i++];) { // check for a match
-            if (node === element) {
-                ret = true;
-                break;
-            }
-        }
-        return ret;
-    }
-
-    /**
\ No newline at end of file
      * Calendar class
      *
      * This is our main class
