From bd609ebd57b99433f7eade15a4f520aab24ba9ba Mon Sep 17 00:00:00 2001 From: Sriram Hariharan Date: Fri, 3 Aug 2018 13:24:43 -0500 Subject: [PATCH] now shows error message when logged out --- js/content.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/js/content.js b/js/content.js index 6b805ff4..3065f6b2 100644 --- a/js/content.js +++ b/js/content.js @@ -463,7 +463,12 @@ function getDescription(){ eCISLink = "http://utdirect.utexas.edu/ctl/ecis/results/index.WBX?&s_in_action_sw=S&s_in_search_type_sw=N&s_in_search_name="+profname.substring(0,1)+profname.substring(1).toLowerCase()+"%2C%20"+first.substring(0,1)+first.substring(1).toLowerCase(); } } else { - description = "Please Refresh the Page" + description = "

You have been logged out. Please refresh the page and log back in using your UT EID and password.

" + $("#description").animate({'opacity': 0}, 200, function(){ + $(this).html(description).animate({'opacity': 1}, 200); + }); + rmpLink = "http://www.ratemyprofessors.com/campusRatings.jsp?sid=1255"; + eCISLink = "http://utdirect.utexas.edu/ctl/ecis/results/index.WBX?"; } });