Commit 3df42770aed20c786755183529ec0894e5bb9b42

Authored by Mitali Srivastava
1 parent 69cbf2ba

Bug 6983: Modesty change doesn't reflect on Navigator for the first time

6980: Image doesn't update in Navigator
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -541,7 +541,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", @@ -541,7 +541,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
541 var openViewLen = $rootScope.openViews.length; 541 var openViewLen = $rootScope.openViews.length;
542 var currentOpenViewId = $rootScope.openViews[openViewLen - 1].BodyViewId; 542 var currentOpenViewId = $rootScope.openViews[openViewLen - 1].BodyViewId;
543 $rootScope.isSettingEventAlredayDispachted = true; 543 $rootScope.isSettingEventAlredayDispachted = true;
544 - $rootScope.$broadcast('reloadDABodyViewEvent', { reloadDABodyViewId: currentOpenViewId }); 544 + $rootScope.$broadcast('reloadDABodyViewEvent', { reloadDABodyViewId: currentOpenViewId },true);
545 } 545 }
546 else { 546 else {
547 $rootScope.$broadcast('reloadDAControllerEvent', true); 547 $rootScope.$broadcast('reloadDAControllerEvent', true);
400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html
@@ -238,7 +238,7 @@ @@ -238,7 +238,7 @@
238 238
239 <div class="dropdown-menu active" id="navigatorDiv" style="min-height:auto; min-width:auto; "> 239 <div class="dropdown-menu active" id="navigatorDiv" style="min-height:auto; min-width:auto; ">
240 <div id="containment-wrapper" align="center" style="min-width:auto;height:119px; "> 240 <div id="containment-wrapper" align="center" style="min-width:auto;height:119px; ">
241 - <img id="navimg" src="{{navimgsrc}}" alt=""></img> 241 + <img id="navimg" ng-src="{{navimgsrc}}" alt=""></img>
242 <div id="draggable" class="draggable ui-widget-content" ng-mouseup="ScrollCanvasDiv()" ng-style="dragdivposition"> 242 <div id="draggable" class="draggable ui-widget-content" ng-mouseup="ScrollCanvasDiv()" ng-style="dragdivposition">
243 </div> 243 </div>
244 </div> 244 </div>