From: nfreear Date: Mon, 19 Nov 2007 15:25:16 +0000 (+0000) Subject: Initial fix for MDL-12256, "Course AJAX has very poor accessibility - ALT text" ... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=11599e476d8357a5f9d55df49cb13a97947134e0;p=moodle.git Initial fix for MDL-12256, "Course AJAX has very poor accessibility - ALT text" - test, imgAttributes.length NOT attributes.length. --- 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