Merge branch 'MDL-42827-master' of git://github.com/andrewnicols/moodle

This commit is contained in:
Marina Glancy
2013-11-13 13:28:46 +11:00
+4 -1
View File
@@ -515,7 +515,10 @@ YUI.add('moodle-course-toolboxes', function(Y) {
*/
handle_resource_dim : function(button, activity, action) {
var toggleclass = CSS.DIMCLASS,
dimarea = activity.one('a, .contentwithoutlink'),
dimarea = activity.one([
SELECTOR.ACTIVITYLINK,
SELECTOR.CONTENTWITHOUTLINK
].join(', ')),
availabilityinfo = activity.one(CSS.AVAILABILITYINFODIV),
nextaction = (action === 'hide') ? 'show' : 'hide',
buttontext = button.one('span'),