Commit 1f82b15f1cd8ae341a3f5b6fc16a154ff1f65d8d

Authored by Amrita Vishnoi
1 parent 0fb9ec8e

79 merged commit

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -347,6 +347,8 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
347 347  
348 348 // $("#canvas").removeLayer("TextRect_" + $rootScope.resetTextRect).drawLayers();
349 349  
  350 + //Edit Shape Style popup should open at it's default position
  351 + $("#modeleditstyle").css({ "left": "0", "right": "0", "margin": "0 auto", "top":"70px"});
350 352  
351 353 }
352 354  
... ... @@ -379,6 +381,9 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
379 381  
380 382 document.getElementById('modelbackground').style.display = "none";
381 383 document.getElementById('modeleditstyle').style.display = "none";
  384 + //Edit Shape Style popup should open at it's default position
  385 + $("#modeleditstyle").css({"left":"0", "right":"0", "margin":"0 auto", "top":"70px"});
  386 +
382 387  
383 388 }
384 389  
... ...
400-SOURCECODE/AIAHTML5.Web/index.html
... ... @@ -702,7 +702,7 @@
702 702 <!--Edit Shape Modal-->
703 703  
704 704  
705   - <div class="modeleditstyle" id="modeleditstyle" style="z-index: 1000000000; background: white; height: 433px; width: 302px;position:absolute;left:40%;top:70px;">
  705 + <div class="modeleditstyle" id="modeleditstyle" style="z-index: 1000000000; background: white; height: 433px; width: 302px;position:absolute;left:0;right:0;top:70px;margin: 0 auto;">
706 706 <div class="modal-content">
707 707 <div class="modal-header annotation-modal-header">
708 708 <h4 class="modal-title" id="myModalLabel33">Edit Shape Style</h4>
... ...