Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes error show_message is not defined #4877

Merged
merged 1 commit into from
Feb 19, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var Backbone = require("base/backbone");
var Handlebars = require("base/handlebars");

var messages = require("utils/messages");
var Models = require("./models");


Expand Down Expand Up @@ -93,7 +93,7 @@ var StudentProgressContainerView = Backbone.View.extend({
success: function() {
if (self.collection.length === 0) { //if the student visits the my progress page before attempting any quizes/videos
if (window.statusModel.is_student()) {
show_message("info", gettext("Click on the LEARN button above to get started on your learning journey."));
messages.show_message("info", gettext("Click on the LEARN button above to get started on your learning journey."));
}
self.$el.html(""); //this is done to remove the 'Progress Report' header
}
Expand Down