From 11599e476d8357a5f9d55df49cb13a97947134e0 Mon Sep 17 00:00:00 2001 From: nfreear Date: Mon, 19 Nov 2007 15:25:16 +0000 Subject: [PATCH] Initial fix for MDL-12256, "Course AJAX has very poor accessibility - ALT text" - test, imgAttributes.length NOT attributes.length. --- lib/ajax/ajaxcourse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ajax/ajaxcourse.js b/lib/ajax/ajaxcourse.js index 0dfd6de522..723140944f 100644 --- a/lib/ajax/ajaxcourse.js +++ b/lib/ajax/ajaxcourse.js @@ -160,7 +160,7 @@ main_class.prototype.mk_button = function(tag, imgSrc, attributes, imgAttributes } } if (imgAttributes != null) { - for (var c=0; c