Merge branch 'wip-mdl-42777' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
@@ -90,4 +90,14 @@ Feature: We can change the visibility of courses in the management interface.
|
||||
# AJAX updates the visibility
|
||||
And category in management listing should be visible "CAT1"
|
||||
And course in management listing should be dimmed "C1"
|
||||
And I toggle visibility of category "CAT1" in management listing
|
||||
And I toggle visibility of category "CAT1" in management listing
|
||||
And I toggle visibility of course "C1" in management listing
|
||||
And I click on "Viewing Course categories and courses" "link"
|
||||
And I click on "Courses" "link"
|
||||
# Redirect
|
||||
And I should see "Course 1" in the "#course-listing ul.ml" "css_element"
|
||||
And I toggle visibility of course "C1" in management listing
|
||||
# AJAX updates the visibility
|
||||
And course in management listing should be dimmed "C1"
|
||||
And I toggle visibility of course "C1" in management listing
|
||||
And course in management listing should be visible "C1"
|
||||
|
||||
@@ -281,10 +281,6 @@ Console.prototype = {
|
||||
if (!listing) {
|
||||
return false;
|
||||
}
|
||||
if (!category) {
|
||||
Y.log('Couldn\'t find the current category object.', 'warn', 'moodle-course-management');
|
||||
return false;
|
||||
}
|
||||
listing.all('.listitem[data-id]').each(function(node){
|
||||
this.registerCourse(new Course({
|
||||
node : node,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -278,9 +278,6 @@ Console.prototype = {
|
||||
if (!listing) {
|
||||
return false;
|
||||
}
|
||||
if (!category) {
|
||||
return false;
|
||||
}
|
||||
listing.all('.listitem[data-id]').each(function(node){
|
||||
this.registerCourse(new Course({
|
||||
node : node,
|
||||
|
||||
-4
@@ -279,10 +279,6 @@ Console.prototype = {
|
||||
if (!listing) {
|
||||
return false;
|
||||
}
|
||||
if (!category) {
|
||||
Y.log('Couldn\'t find the current category object.', 'warn', 'moodle-course-management');
|
||||
return false;
|
||||
}
|
||||
listing.all('.listitem[data-id]').each(function(node){
|
||||
this.registerCourse(new Course({
|
||||
node : node,
|
||||
|
||||
Reference in New Issue
Block a user