diff options
author | wei <> | 2006-01-20 01:25:05 +0000 |
---|---|---|
committer | wei <> | 2006-01-20 01:25:05 +0000 |
commit | 63576250311be8d296ee19696280e3e165ce761e (patch) | |
tree | 840e86735d3912ff25c721b49971347be42b2bcc /framework/Web/Javascripts/js | |
parent | 05b3992f9e8a1d6174b30d27674e7192098cc0c4 (diff) |
Move init of js datepicker to Event.OnLoad to avoid IE error
Diffstat (limited to 'framework/Web/Javascripts/js')
-rw-r--r-- | framework/Web/Javascripts/js/datepicker.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/js/datepicker.js b/framework/Web/Javascripts/js/datepicker.js index d4ba0d2c..e840fc68 100644 --- a/framework/Web/Javascripts/js/datepicker.js +++ b/framework/Web/Javascripts/js/datepicker.js @@ -128,6 +128,14 @@ _20.className="clearButton"; _19="Clear"; _20.appendChild(document.createTextNode(_19)); _4.appendChild(_20); +if(Prado.Browser().ie){ +this.iePopUp=document.createElement("iframe"); +this.iePopUp.src=""; +this.iePopUp.style.position="absolute"; +this.iePopUp.scrolling="no"; +this.iePopUp.frameBorder="0"; +document.body.appendChild(this.iePopUp); +} document.body.appendChild(this._calDiv); this.update(); this.updateHeader(); |