logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

mantisbt/javascript addLoadEvent.js,1.1,1.2 common.js,1.5,1.6 dynamic_filte: msg#00027

Subject: mantisbt/javascript addLoadEvent.js,1.1,1.2 common.js,1.5,1.6 dynamic_filters.js,1.2,1.3 xmlhttprequest.js,1.1,1.2
Update of /cvsroot/mantisbt/mantisbt/javascript
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21884/javascript

Modified Files:
        addLoadEvent.js common.js dynamic_filters.js xmlhttprequest.js 
Log Message:
Fixed inconsistencies in line-endings

Index: dynamic_filters.js
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/javascript/dynamic_filters.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dynamic_filters.js  13 Dec 2004 23:13:39 -0000      1.2
+++ dynamic_filters.js  12 Feb 2005 20:03:50 -0000      1.3
@@ -1,4 +1,4 @@
-/* 
+/*
  * Mantis - a php based bugtracking system
  * Copyright (C) 2000 - 2002  Kenzaburo Ito - 
kenito-J7RQz27tXwtAfugRpC6u6w@xxxxxxxxxxxxxxxx
  * Copyright (C) 2002 - 2004  Mantis Team   - 
mantisbt-dev-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
@@ -55,7 +55,7 @@
 // | In another instance, I use this to product live comments by passing  |
 // | the text to a Textile class that parses it to valid HTML. After      |
 // | parsing, the html is returned and displayed on the page as the       |
-// | user types.                                                          | 
+// | user types.                                                          |
 // +----------------------------------------------------------------------+
 //
 //
@@ -75,7 +75,7 @@
 //
 */
 
-       
+
 var processURI    = './return_dynamic_filters.php';
 var liveReq = false;
 
@@ -98,7 +98,7 @@
        } else if (window.ActiveXObject) {
                liveReq = new ActiveXObject("Microsoft.XMLHTTP");
        }
-       
+
        name = this.id;
        liveReq.onreadystatechange = function(){liveReqProcessReqChange(name);};
        t_view = 
document.getElementById('filters_form').elements['view_type'].value;
@@ -126,7 +126,7 @@
  * Strip the tag, leave the content.
  */
 function replaceWithContent(id){
-       tag = document.getElementById(id);      
+       tag = document.getElementById(id);
        if (!tag) return false;
        t_parent = tag.parentNode;
        if (!t_parent) return false;
@@ -141,15 +141,15 @@
  * Initialise the filter links
  */
 function labelInit(){
-       // keep browsers that don't support DOM or 
+       // keep browsers that don't support DOM or
        // XMLHttpRequest from getting in trouble
        if (document.getElementById &&  (window.XMLHttpRequest || 
window.ActiveXObject)) {
-               
+
                t_form = document.getElementById("filters_form");
                if (!t_form) return false;
                t_links = t_form.getElementsByTagName("a");
                if (!t_links) return false;
-               
+
                for(var i=0; i < t_links.length; i++){
                        var t_link = t_links[i];
                        if (t_link.id.substring((t_link.id.length - 7), 
t_link.id.length) == "_filter"){
@@ -165,4 +165,4 @@
        }
 }
 
-addLoadEvent(labelInit);
\ No newline at end of file
+addLoadEvent(labelInit);

Index: addLoadEvent.js
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/javascript/addLoadEvent.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- addLoadEvent.js     12 Dec 2004 14:10:38 -0000      1.1
+++ addLoadEvent.js     12 Feb 2005 20:03:50 -0000      1.2
@@ -1,4 +1,4 @@
-/* 
+/*
  * Mantis - a php based bugtracking system
  * Copyright (C) 2000 - 2002  Kenzaburo Ito - 
kenito-J7RQz27tXwtAfugRpC6u6w@xxxxxxxxxxxxxxxx
  * Copyright (C) 2002 - 2004  Mantis Team   - 
mantisbt-dev-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
@@ -10,7 +10,7 @@
  * --------------------------------------------------------
  */
 /*
-Care Of: 
+Care Of:
                Simon Willison
                http://simon.incutio.com/archive/2004/05/26/addLoadEvent
                Thnx Dude!
@@ -18,7 +18,7 @@
 ******** USEAGE ********************************
 addLoadEvent(nameOfSomeFunctionToRunOnPageLoad);
 addLoadEvent(function() {
-  // more code to run on page load 
+  // more code to run on page load
 });
 */
 function addLoadEvent(func) {
@@ -31,4 +31,4 @@
       func();
     }
   }
-}
\ No newline at end of file
+}

Index: xmlhttprequest.js
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/javascript/xmlhttprequest.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xmlhttprequest.js   12 Dec 2004 14:10:38 -0000      1.1
+++ xmlhttprequest.js   12 Feb 2005 20:03:50 -0000      1.2
@@ -1,4 +1,4 @@
-/* 
+/*
  * Mantis - a php based bugtracking system
  * Copyright (C) 2000 - 2002  Kenzaburo Ito - 
kenito-J7RQz27tXwtAfugRpC6u6w@xxxxxxxxxxxxxxxx
  * Copyright (C) 2002 - 2004  Mantis Team   - 
mantisbt-dev-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
@@ -37,7 +37,7 @@
 * getAllResponseHeaders(), getAllResponseHeader(header)
 */
 
-/* 
+/*
  * commented out (30/07/2004) because it was causing subsequent request to 
freeze
 // IE support
 if (window.ActiveXObject && !window.XMLHttpRequest) {
@@ -224,4 +224,4 @@
     }
     return null;
   };
-}
\ No newline at end of file
+}

Index: common.js
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/javascript/common.js,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- common.js   31 Jan 2005 21:34:14 -0000      1.5
+++ common.js   12 Feb 2005 20:03:50 -0000      1.6
@@ -1,4 +1,4 @@
-/* 
+/*
  * Mantis - a php based bugtracking system
  * Copyright (C) 2000 - 2002  Kenzaburo Ito - 
kenito-J7RQz27tXwtAfugRpC6u6w@xxxxxxxxxxxxxxxx
  * Copyright (C) 2002 - 2004  Mantis Team   - 
mantisbt-dev-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
@@ -16,8 +16,8 @@
  */
 
 function Trim( p_string ) {
-       if (typeof p_string != "string") { 
-               return p_string; 
+       if (typeof p_string != "string") {
+               return p_string;
        }
 
        var t_string = p_string;
@@ -127,10 +127,10 @@
 /* Check checkboxes */
 function checkall( p_formname, p_state) {
        var t_elements = (eval("document." + p_formname + ".elements"));
-       
-       for (var i = 0; i < t_elements.length; i++) { 
-       if(t_elements[i].type == 'checkbox') { 
+
+       for (var i = 0; i < t_elements.length; i++) {
+       if(t_elements[i].type == 'checkbox') {
                t_elements[i].checked = p_state;
-               } 
+               }
        }
 }



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click


<Prev in Thread] Current Thread [Next in Thread>