Merge branch 'MDL-37162_23' of git://github.com/pauln/moodle into MOODLE_23_STABLE
This commit is contained in:
Vendored
-15
@@ -259,15 +259,6 @@ YUI.add('moodle-course-toolboxes', function(Y) {
|
||||
},
|
||||
_setup_for_resource : function(toolboxtarget) {
|
||||
toolboxtarget = Y.one(toolboxtarget);
|
||||
// "Disable" show/hide icons (change cursor to not look clickable) if section is hidden
|
||||
var showhide = toolboxtarget.all(CSS.COMMANDSPAN + ' ' + CSS.HIDE);
|
||||
showhide.concat(toolboxtarget.all(CSS.COMMANDSPAN + ' ' + CSS.SHOW));
|
||||
showhide.each(function(node) {
|
||||
var section = node.ancestor(CSS.SECTIONLI);
|
||||
if (section && section.hasClass(CSS.SECTIONHIDDENCLASS)) {
|
||||
node.setStyle('cursor', 'auto');
|
||||
}
|
||||
});
|
||||
|
||||
// Set groupmode attribute for use by this.toggle_groupmode()
|
||||
var groups;
|
||||
@@ -707,12 +698,6 @@ YUI.add('moodle-course-toolboxes', function(Y) {
|
||||
if (Y.Array.indexOf(response.resourcestotoggle, activityid) != -1) {
|
||||
this.toggle_hide_resource_ui(button);
|
||||
}
|
||||
|
||||
if (value == 0) {
|
||||
button.setStyle('cursor', 'auto');
|
||||
} else {
|
||||
button.setStyle('cursor', 'pointer');
|
||||
}
|
||||
}, this);
|
||||
},
|
||||
toggle_highlight : function(e) {
|
||||
|
||||
@@ -47,6 +47,9 @@
|
||||
.dir-rtl.path-course-view li.activity span.autocompletion {right:-20px;left:auto;padding:0px;}
|
||||
.dir-rtl.path-course-view .completionprogress {float: none;}
|
||||
|
||||
li.section.hidden span.commands a.editing_hide,
|
||||
li.section.hidden span.commands a.editing_show {cursor:default;}
|
||||
|
||||
.section img.movetarget {height:16px;width:80px;}
|
||||
|
||||
#page-course-enrol .generalbox,
|
||||
|
||||
Reference in New Issue
Block a user