Code

Re-enabled schema checks
[gosa.git] / gosa-core / html / include / datepicker.js
index aee1ea51b002a5bd04a863345052379ed2f1f73f..738324708c485573747fbe87aa87ca4817c1a589 100644 (file)
@@ -425,6 +425,8 @@ DatePicker.prototype        = {
        
                /* init the datepicker if it doesn't exists */
                if ( $(this._id_datepicker) == null ) this.load();
+               var a_pos = Element.cumulativeOffset($(this._relative));
+               this.setPosition(a_pos[1], a_pos[0]);
                if (!this._isPositionned && this._relativePosition) {
                        /* position the datepicker relatively to element */
                        var a_lt = Element.positionedOffset($(this._relative));