Author: solomax
Date: Fri May 31 07:59:12 2013
New Revision: 1488124

URL: http://svn.apache.org/r1488124
Log:
Hardcoded Google-Analytics support is removed

Modified:
    openmeetings/branches/2.1/WebContent/openmeetings/openmeetings_functions.js
    openmeetings/branches/2.1/WebContent/src/base/externalJavaScript.lzx
    openmeetings/branches/2.1/WebContent/src/main.lzx
    openmeetings/branches/2.1/WebContent/swf10/base/mainMethods.lzx
    openmeetings/branches/2.1/src/usual_template.vm

Modified: 
openmeetings/branches/2.1/WebContent/openmeetings/openmeetings_functions.js
URL: 
http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/openmeetings/openmeetings_functions.js?rev=1488124&r1=1488123&r2=1488124&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/openmeetings/openmeetings_functions.js 
(original)
+++ openmeetings/branches/2.1/WebContent/openmeetings/openmeetings_functions.js 
Fri May 31 07:59:12 2013
@@ -23,20 +23,6 @@
  *  
  */ 
 
-var _gaq;
-
-function sendErrorReport(message) {
-       // Google Analytics
-       try {
-               _gaq = _gaq || [];
-               _gaq.push(['_setAccount', 'UA-13024987-1']);
-               _gaq.push(['_trackPageview']);
-               _gaq.push(['_trackEvent', 'Openmeetings client error', message, 
'', 0, true]);
-       } catch (exception) {
-               alert(exception);
-       }
-}
-
 function getBrowserInfo() {
        //alert(navigator.userAgent);
        
document.getElementById("lzapp").getBrowserInfoCallback(navigator.userAgent);

Modified: openmeetings/branches/2.1/WebContent/src/base/externalJavaScript.lzx
URL: 
http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/src/base/externalJavaScript.lzx?rev=1488124&r1=1488123&r2=1488124&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/src/base/externalJavaScript.lzx 
(original)
+++ openmeetings/branches/2.1/WebContent/src/base/externalJavaScript.lzx Fri 
May 31 07:59:12 2013
@@ -35,10 +35,6 @@
        var browserInfoReturnObject = null;
        var browserLangReturnObject = null;
        
-       function sendErrorReport(message) {
-               lz.Browser.callJS('sendErrorReport', null, message);
-       }
-       
        function redirectToUrl(url, returnObject) {
                
                redirectToUrlReturnObject = returnObject;

Modified: openmeetings/branches/2.1/WebContent/src/main.lzx
URL: 
http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/src/main.lzx?rev=1488124&r1=1488123&r2=1488124&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/src/main.lzx (original)
+++ openmeetings/branches/2.1/WebContent/src/main.lzx Fri May 31 07:59:12 2013
@@ -59,10 +59,6 @@
        canvas.lc = new LocalConnection();
 </handler>
 
-<handler name="onerror" args="errmsg">
-       sendErrorReport(errmsg);
-</handler>
-
 <!-- View for Contents. All Windows will be loaded on this view. -->
 <view name="main_content" y="${ canvas.naviHeightDelta }" 
width="${canvas.width}" 
                            height="${ canvas.height-canvas.naviHeightDelta }"

Modified: openmeetings/branches/2.1/WebContent/swf10/base/mainMethods.lzx
URL: 
http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/swf10/base/mainMethods.lzx?rev=1488124&r1=1488123&r2=1488124&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/swf10/base/mainMethods.lzx (original)
+++ openmeetings/branches/2.1/WebContent/swf10/base/mainMethods.lzx Fri May 31 
07:59:12 2013
@@ -23,15 +23,8 @@
 
 <library>
     
-    <method name="onError" args="errorEvent">
-               lz.Browser.callJS('sendErrorReport', null, 
errorEvent.toString());
-       </method>
-    
     <method name="myinit">
         <![CDATA[
-        // Add listener to all uncaught errors
-        
this.getDisplayObject().loaderInfo.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR,
 onError);
-        
         canvas.mediaerrortimeout = 30000;
         canvas.medialoadtimeout = 30000;
         

Modified: openmeetings/branches/2.1/src/usual_template.vm
URL: 
http://svn.apache.org/viewvc/openmeetings/branches/2.1/src/usual_template.vm?rev=1488124&r1=1488123&r2=1488124&view=diff
==============================================================================
--- openmeetings/branches/2.1/src/usual_template.vm (original)
+++ openmeetings/branches/2.1/src/usual_template.vm Fri May 31 07:59:12 2013
@@ -54,8 +54,6 @@ limitations under the License.
 <script type="text/javascript"
        src="embed-compressed.js"></script>
 <script type="text/javascript"
-       src="http://www.google-analytics.com/ga.js";></script>
-<script type="text/javascript"
        src="openmeetings_functions.js"></script>       
 <script type="text/javascript">
 


Reply via email to