Commit bcd032b6f212081b36f632c75b1929dee6f9b18a

Authored by Mukul Rajput
1 parent c982ce6d

this is zoom with printpreview

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -4403,34 +4403,34 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
4403 4403 $(document).on('change', '#printPSOptions', function () {
4404 4404 var option = $('#printPSOptions').find(":selected").text();
4405 4405 switch (option) {
4406   - case (option = "10%"):
  4406 + case ("10%"):
4407 4407 ResizeImage(0.1);
4408 4408 break;
4409   - case (option = "25%"):
  4409 + case ("25%"):
4410 4410 ResizeImage(0.25);
4411 4411 break;
4412   - case (option = "50%"):
  4412 + case ("50%"):
4413 4413 ResizeImage(0.5);
4414 4414 break;
4415   - case (option = "75%"):
  4415 + case ("75%"):
4416 4416 ResizeImage(.75);
4417 4417 break;
4418   - case (option = "65%"):
  4418 + case ("65%"):
4419 4419 ResizeImage(0.65);
4420 4420 break;
4421   - case (option = "100%"):
  4421 + case ("100%"):
4422 4422 ResizeImage(1);
4423 4423 break;
4424   - case (option = "150%"):
  4424 + case ("150%"):
4425 4425 ResizeImage(1.5);
4426 4426 break;
4427   - case (option = "200%"):
  4427 + case ("200%"):
4428 4428 ResizeImage(2);
4429 4429 break;
4430   - case (option = "500%"):
  4430 + case ("500%"):
4431 4431 ResizeImage(5);
4432 4432 break;
4433   - case (option = "Auto"):
  4433 + case ("Auto"):
4434 4434 ResizeImage(0);
4435 4435 break;
4436 4436 default:
... ...