Commit a3ef3f636803d49e6d991584f4071ca9d7932017

Authored by Mukul Rajput
1 parent 7be6803c

this is for bug no #8319

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -378,7 +378,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", @@ -378,7 +378,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
378 // $("#canvas").removeLayer("TextRect_" + $rootScope.resetTextRect).drawLayers(); 378 // $("#canvas").removeLayer("TextRect_" + $rootScope.resetTextRect).drawLayers();
379 379
380 //Edit Shape Style popup should open at it's default position 380 //Edit Shape Style popup should open at it's default position
381 - $("#modeleditstyle").css({ "left": "0", "right": "0", "margin": "0 auto", "top":"70px"}); 381 + $("#modeleditstyle").css({ "left": "40%", "right": "0", "top":"70px"});
382 382
383 } 383 }
384 384
@@ -417,7 +417,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", @@ -417,7 +417,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
417 document.getElementById('modelbackground').style.display = "none"; 417 document.getElementById('modelbackground').style.display = "none";
418 document.getElementById('modeleditstyle').style.display = "none"; 418 document.getElementById('modeleditstyle').style.display = "none";
419 //Edit Shape Style popup should open at it's default position 419 //Edit Shape Style popup should open at it's default position
420 - $("#modeleditstyle").css({"left":"0", "right":"0", "margin":"0 auto", "top":"70px"}); 420 + $("#modeleditstyle").css({"left":"40%", "right":"0", "top":"70px"});
421 421
422 422
423 } 423 }
400-SOURCECODE/AIAHTML5.Web/index.html
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="en" ng-cloak ng-app="AIA"> 2 <html lang="en" ng-cloak ng-app="AIA">
3 <head> 3 <head>
4 - <!--<base href="/AIAHTML5/" />--> 4 + <!--<base href="/AIAHTML5/" />-->
5 <!--<base href="/AIA/" />--> 5 <!--<base href="/AIA/" />-->
6 <base href="/" /> 6 <base href="/" />
7 <meta charset="utf-8"> 7 <meta charset="utf-8">
@@ -735,7 +735,7 @@ @@ -735,7 +735,7 @@
735 <!--Edit Shape Modal--> 735 <!--Edit Shape Modal-->
736 736
737 737
738 - <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;"> 738 + <div class="modeleditstyle" id="modeleditstyle" style="z-index: 1000000000; background: white; height: 433px; width: 302px;position:absolute;left:40%;right:0;top:70px;">
739 <div class="modal-content"> 739 <div class="modal-content">
740 <div class="modal-header annotation-modal-header"> 740 <div class="modal-header annotation-modal-header">
741 <h4 class="modal-title" id="myModalLabel33">Edit Shape Style</h4> 741 <h4 class="modal-title" id="myModalLabel33">Edit Shape Style</h4>