From 7b12585bf2221384ef2da06f3cffa44204d5d3f7 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Fri, 8 Aug 2014 14:45:06 +0530 Subject: removed unwanted code --- js/tbc_external_review.js | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'js/tbc_external_review.js') diff --git a/js/tbc_external_review.js b/js/tbc_external_review.js index 83cdddb..398bda2 100755 --- a/js/tbc_external_review.js +++ b/js/tbc_external_review.js @@ -151,30 +151,7 @@ $(document).ready(function() { }); }); - $togglers = $(".togglers-hide-show1"); - $togglers.click(function() { - var preference_id = $(this).attr("manages-comment"); - - $.ajax({ - url: modPath + "ajax/togglers/" + preference_id, - type: "GET", - success: function(data) { - $tr = $("tr"); - $tr.each(function() { - if(!$(this).hasClass("manages-comment")) { - if($(this).hasClass("dulls")) { - $(this).removeClass("dulls"); - $(this).find(".hide-show1").html("Hide"); - } else { - $(this).addClass("dulls"); - $(this).find(".hide-show1").html("Show"); - $("thead tr").removeClass("dulls"); - } - } - }); - } - }); - }); + var count = 1; $more = $jq("#review-completion-form #more"); $missed = $jq("#review-completion-form #missed-list"); -- cgit