Commit 46ce109a64c598e80c5605ac4c8bc174ab01f74f

Authored by Nikita Kulshreshtha
1 parent b5ce27eb

removed click event from review button check/uncke btn

400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js
@@ -435,10 +435,10 @@ function ($scope, $rootScope, pages, log, $http, $timeout, DataService, $filter, @@ -435,10 +435,10 @@ function ($scope, $rootScope, pages, log, $http, $timeout, DataService, $filter,
435 if (j == $(this).text()) { 435 if (j == $(this).text()) {
436 $q = $(this).parent(); 436 $q = $(this).parent();
437 if ($q.find("td:nth-child(3)").text() == "Correct") { 437 if ($q.find("td:nth-child(3)").text() == "Correct") {
438 - sortedQuestionHtml += '<tr><td>' + $q.find("td:nth-child(1)").text() + '</td><td>' + $q.find("td:nth-child(2)").text() + '</td><td>' + $q.find("td:nth-child(3)").text() + '</td><td><button ng-click="reviewAttemptAnswer($event);" id=' + $q.find("td:nth-child(1)").text() + ' class="btn btn-sm" style="background-color:#007ab3;border-color:#007ab3;color:#ffffff;"><i class="fa fa-check-circle"></i> Review</button></td></tr>'; 438 + sortedQuestionHtml += '<tr><td>' + $q.find("td:nth-child(1)").text() + '</td><td>' + $q.find("td:nth-child(2)").text() + '</td><td>' + $q.find("td:nth-child(3)").text() + '</td><td><button ng-click="reviewAttemptAnswer($event);" id=' + $q.find("td:nth-child(1)").text() + ' class="btn btn-sm" style="background-color:#007ab3;border-color:#007ab3;color:#ffffff;"><i class="fa fa-check-circle" style="pointer-events:none;"></i> Review</button></td></tr>';
439 } 439 }
440 else { 440 else {
441 - sortedQuestionHtml += '<tr><td>' + $q.find("td:nth-child(1)").text() + '</td><td>' + $q.find("td:nth-child(2)").text() + '</td><td>' + $q.find("td:nth-child(3)").text() + '</td><td><button ng-click="reviewAttemptAnswer($event);" id=' + $q.find("td:nth-child(1)").text() + ' class="btn btn-sm" style="background-color:#d9534f;border-color:#d9534f;color:#ffffff;"><i class="fa fa-times-circle"></i> Review</button></td></tr>'; 441 + sortedQuestionHtml += '<tr><td>' + $q.find("td:nth-child(1)").text() + '</td><td>' + $q.find("td:nth-child(2)").text() + '</td><td>' + $q.find("td:nth-child(3)").text() + '</td><td><button ng-click="reviewAttemptAnswer($event);" id=' + $q.find("td:nth-child(1)").text() + ' class="btn btn-sm" style="background-color:#d9534f;border-color:#d9534f;color:#ffffff;"><i class="fa fa-times-circle" style="pointer-events:none;"></i> Review</button></td></tr>';
442 } 442 }
443 } 443 }
444 }); 444 });