Commit 19b496bbfb603ba46a4311b91f99080881ac5969
1 parent
0a4e1d4d
Bug 7845: Annotation Toolbar | Edit Shape Style popup should open at it's default position
Showing
2 changed files
with
6 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -338,6 +338,8 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", |
338 | 338 | |
339 | 339 | // $("#canvas").removeLayer("TextRect_" + $rootScope.resetTextRect).drawLayers(); |
340 | 340 | |
341 | + //Edit Shape Style popup should open at it's default position | |
342 | + $("#modeleditstyle").css({ "left": "0", "right": "0", "margin": "0 auto", "top":"70px"}); | |
341 | 343 | |
342 | 344 | } |
343 | 345 | |
... | ... | @@ -353,6 +355,9 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", |
353 | 355 | |
354 | 356 | document.getElementById('modelbackground').style.display = "none"; |
355 | 357 | document.getElementById('modeleditstyle').style.display = "none"; |
358 | + //Edit Shape Style popup should open at it's default position | |
359 | + $("#modeleditstyle").css({"left":"0", "right":"0", "margin":"0 auto", "top":"70px"}); | |
360 | + | |
356 | 361 | |
357 | 362 | } |
358 | 363 | ... | ... |
400-SOURCECODE/AIAHTML5.Web/index.html
... | ... | @@ -679,7 +679,7 @@ |
679 | 679 | <!--Edit Shape Modal--> |
680 | 680 | |
681 | 681 | |
682 | - <div class="modeleditstyle" id="modeleditstyle" style="z-index: 1000000000; background: white; height: 433px; width: 302px;position:absolute;left:40%;top:70px;"> | |
682 | + <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;"> | |
683 | 683 | <div class="modal-content"> |
684 | 684 | <div class="modal-header annotation-modal-header"> |
685 | 685 | <h4 class="modal-title" id="myModalLabel33">Edit Shape Style</h4> | ... | ... |