[Catalyst] How to help with the wiki migration?

Peter Edwards peter at dragonstaff.com
Wed Jan 23 09:29:35 GMT 2008


Marcus Ramberg wrote:
>registration on the wiki is open at http://catwiki.toeat.com/.register

This page gives a Javascript error under IE7: "'null' is null or not an
object"
Caused by line
$('1').focus();

Try $('_login').focus() or document.getElementById('_login').focus();
Or more fanatically http://www.themaninblue.com/writing/perspective/2005/10/


After saving page (/.highlight) it gives another Javascript error in:

<div id="current">  <p>Peterdragon was here</p>
 <script language="Javascript" type="text/javascript">
	Fat.fade();
	</script>  </div>

I guess that should be Fat.fade('.highlight') or something. Call tree is

Fat.fade();

-> Fat { 
   ..
	fade : function ( selector)
	{
		var a = document.getElementsBySelector(selector);
		for (var i = 0; i < a.length; i++) 

-> document.getElementsBySelector = function(selector) {
..
var tokens = selector.split(' ');

null split  gives error


Regards, Peter





More information about the Catalyst mailing list