diff options
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r-- | framework/Web/Javascripts/js/datepicker.js | 8 | ||||
-rw-r--r-- | framework/Web/Javascripts/prado/datepicker.js | 4 |
2 files changed, 10 insertions, 2 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(); diff --git a/framework/Web/Javascripts/prado/datepicker.js b/framework/Web/Javascripts/prado/datepicker.js index 680008bd..f3c6ff27 100644 --- a/framework/Web/Javascripts/prado/datepicker.js +++ b/framework/Web/Javascripts/prado/datepicker.js @@ -199,7 +199,7 @@ Prado.WebUI.TDatePicker.prototype = clearButton.appendChild(document.createTextNode(buttonText));
div.appendChild(clearButton);
-/* if(Prado.Browser().ie)
+ if(Prado.Browser().ie)
{
this.iePopUp = document.createElement('iframe');
this.iePopUp.src = "";
@@ -207,7 +207,7 @@ Prado.WebUI.TDatePicker.prototype = this.iePopUp.scrolling="no"
this.iePopUp.frameBorder="0"
document.body.appendChild(this.iePopUp);
- }*/
+ }
document.body.appendChild(this._calDiv);
|