User: sits    
  Date: 07/05/21 21:07:35

  Modified:    .        CHANGELOG
               lib/Codestriker/Http Response.pm
  Log:
  Emit javascript warning if can't find external javascript files
  
  
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /cvsroot/codestriker/codestriker/CHANGELOG,v
  retrieving revision 1.200
  retrieving revision 1.201
  diff -u -r1.200 -r1.201
  --- CHANGELOG 7 Mar 2007 03:55:48 -0000       1.200
  +++ CHANGELOG 22 May 2007 04:07:35 -0000      1.201
  @@ -1,6 +1,11 @@
   *** When upgrading, don't forget to: "cd bin ; ./install.pl" ***
   *** Also, it is _highly_ advisable to backup your data before upgrading ***
   
  +Version 1.9.4
  +
  +* Emit a javascript warning if the external javascript files could
  +  not be loaded.  This usually occurs due to apache misconfiguration.
  +
   Version 1.9.3
   
   * The project list screen now displays for each project, the total
  
  
  
  
  
  Index: Response.pm
  ===================================================================
  RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/Http/Response.pm,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- Response.pm       7 May 2007 23:52:45 -0000       1.40
  +++ Response.pm       22 May 2007 04:07:35 -0000      1.41
  @@ -274,6 +274,14 @@
        }
        $i++;
       }
  +
  +    # Check that the external javascript files were loaded, and if not
  +    # output an error message.  This is usually due to a
  +    # misconfiguration.
  +    print "    if ('function' != typeof window.add_comment_html) {\n";
  +    print "        alert('Oh oh... can\\'t find codestriker.js, please check 
your apache config.');\n";
  +    print "    }\n";
  +
       print "</script>\n";
   
       # Output the comment declarations if the $comments array is defined.
  
  
  

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits

Reply via email to