Author: artdaw
Date: 2009-06-04 08:48:06 -0400 (Thu, 04 Jun 2009)
New Revision: 14476
Modified:
branches/community/3.3.X/docs/common-resources/en/src/main/script/toggle.js
Log:
https://jira.jboss.org/jira/browse/RF-7213 - bug in JavaScript was fixed
Modified: branches/community/3.3.X/docs/common-resources/en/src/main/script/toggle.js
===================================================================
--- branches/community/3.3.X/docs/common-resources/en/src/main/script/toggle.js 2009-06-04
10:57:55 UTC (rev 14475)
+++ branches/community/3.3.X/docs/common-resources/en/src/main/script/toggle.js 2009-06-04
12:48:06 UTC (rev 14476)
@@ -1,18 +1,13 @@
var inputCorrect = false;
var textCorrect = false;
-function getPlace(){
- if(navigator.appName=="Microsoft Internet Explorer" &&
parseFloat(navigator.appVersion) < 7){
- document.getElementById('place').style.display = "block";
- }
-}
-
+
function showPopup(_popupId) {
document.getElementById(_popupId).style.display = "block";
document.getElementById('timeOutDiv').style.display = "block";
document.getElementById("feedback-maincontainer").style.display =
"block";
document.getElementById("guide_words").style.display = "block";
- getPlace();
+
}
function hidePopup(_popupId, form, iFrame, but, container) {
@@ -24,8 +19,8 @@
document.getElementById(container).style.left="30%";
document.getElementById(container).style.top="20%";
document.getElementById(container).style.width="500px";
- document.getElementById(container).style.height="440px";
- getPlace();
+ document.getElementById(container).style.height="440px";
+
}
function showIFrame(form, iFrame, but, container){