diff --git a/lms/static/js/discovery/views/search_form.js b/lms/static/js/discovery/views/search_form.js index dea483e36426..e03e79c60562 100644 --- a/lms/static/js/discovery/views/search_form.js +++ b/lms/static/js/discovery/views/search_form.js @@ -42,32 +42,32 @@ this.$loadingIndicator.addClass('hidden'); }, - showFoundMessage: function(count) { - var msg; - if (count > 0) { - msg = ngettext( - 'Found %s course for "%s"', - 'Found %s courses for "%s"', - count - ); - } else { - msg = ngettext( - 'Viewing %s course', - 'Viewing %s courses', - count - ); - } - this.$message.html(interpolate(msg, [count, _.escape(term)])); - }, + // showFoundMessage: function(count) { + // var msg; + // if (count > 0) { + // msg = ngettext( + // 'Found %s course for "%s"', + // 'Found %s courses for "%s"', + // count + // ); + // } else { + // msg = ngettext( + // 'Viewing %s course', + // 'Viewing %s courses', + // count + // ); + // } + // this.$message.html(interpolate(msg, [count, _.escape(term)])); + // }, - showNotFoundMessage: function(term) { - var msg = interpolate( - gettext('We couldn\'t find results for "%s".'), - [_.escape(term)] - ); - this.$message.html(msg); - this.clearSearch(); - }, + // showNotFoundMessage: function(term) { + // var msg = interpolate( + // gettext('We couldn\'t find any results for "%s".'), + // [_.escape(term)] + // ); + // this.$message.html(msg); + // this.clearSearch(); + // }, showErrorMessage: function(error) { this.$message.text(gettext(error || 'There was an error, try searching again.'));