Commit bdc90a72f5b7a48bae4205b7d9739e2ef21dee7e
1 parent
372755cf
Added CI&CITextIssue code.
Showing
1 changed file
with
1 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/CIController.js
... | ... | @@ -603,7 +603,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout |
603 | 603 | '<div class="col-sm-12 img-thumbnail" align="center">' + |
604 | 604 | '<img src="' + $scope.clickedCIImage + '" alt="" title="" class="img-responsive "><div class="col-sm-12 well img-subtitle">' + |
605 | 605 | '<div align="left" id="sid"><p>' + $scope.clickedCISummary + '</p></div><button id="btnTxtOnOff" class="btn btn-primary pull-right">Text Off</button>' + |
606 | - '<script>$(document).ready(function(){$("#btnTxtOnOff").click(function(){$("#sid").toggle();if($.trim($(this).text()) === "Text Off"){$(this).text("Text On");}else{$(this).text("Text Off");}});});</script></div>' + | |
606 | + '<script>$(document).ready(function(){$("#btnTxtOnOff").click(function(){if($.trim($(this).text()) === "Text Off"){$(this).text("Text On");$("#sid").css("visibility","hidden");}else{$(this).text("Text Off");$("#sid").css("visibility","visible");}});});</script></div>' + | |
607 | 607 | '</div></div>', |
608 | 608 | //ajax: { |
609 | 609 | // url: 'app/views/ci/ci-view-detail.html' | ... | ... |