Author: chanaka
Date: Mon Aug 11 22:41:53 2008
New Revision: 20672
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=20672

Log:
Fixing ESB Firefox3 Issue - https://www.wso2.org/jira/browse/ESBJAVA-550

Modified:
   
branches/esb/java/1.7.1/modules/distribution/src/main/www/extensions/core/js/proxyservices.js

Modified: 
branches/esb/java/1.7.1/modules/distribution/src/main/www/extensions/core/js/proxyservices.js
URL: 
http://wso2.org/svn/browse/wso2/branches/esb/java/1.7.1/modules/distribution/src/main/www/extensions/core/js/proxyservices.js?rev=20672&r1=20671&r2=20672&view=diff
==============================================================================
--- 
branches/esb/java/1.7.1/modules/distribution/src/main/www/extensions/core/js/proxyservices.js
       (original)
+++ 
branches/esb/java/1.7.1/modules/distribution/src/main/www/extensions/core/js/proxyservices.js
       Mon Aug 11 22:41:53 2008
@@ -185,7 +185,7 @@
 function initproxyview(proxy) {
 
     var prefix = "";
-    if (browsername.indexOf(IE_BROWSER_NAME) != -1) {
+    if (browsername.indexOf(IE_BROWSER_NAME) != -1 || getFFVersion() == 3) {
         prefix = "syn:";
     }
 
@@ -1349,12 +1349,13 @@
             + "xmlns:syn='http://ws.apache.org/ns/synapse'></syn:sequence>");
 
     var prefix = "";
-    if (browsername.indexOf(IE_BROWSER_NAME) != -1) {
+    if (browsername.indexOf(IE_BROWSER_NAME) != -1 || getFFVersion() == 3) {
         prefix = "syn:";
     }
 
     //    if (proxytarget[seqtype] == undefined || proxytarget[seqtype] == 
"undefined") {
     var targetelem = internalmodel.proxy.getElementsByTagName(prefix + 
"target");
+    
     if (targetelem.length != 0) {
         var seq = targetelem[0].getElementsByTagName(
                 prefix + seqtype.substring(
@@ -1381,6 +1382,7 @@
     sequence_div.style.overflowY = "auto";
     sequence_div.style.overflowX = "hidden";
     internalmodel.sequence.setAttribute("anonymous", "true");
+    
     getsequencedisplay(sequence_div);
     var temp = document.createElement("div");
     temp.appendChild(sequence_div);
@@ -1392,7 +1394,7 @@
             + "<td></td><td><input type='button' class='panelbutton_cancel' "
             + "onclick='javascript: closesequenceeditor(\"" + seqtype + "\"); 
return false;' value='Cancel'/></td>"
             + "</tr></tbody></table></div>";
-
+    
     yuieditorpanel("WSO2-ESB Sequence Editor", bodyHTML, "Anonymous sequence", 
"panelSequence", "800px");
 }
 

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to