' +
'
' +
- '

' +
+ '

' +
'
' + $scope.clickedCISummary + '
' +
'
' +
'
',
@@ -612,14 +622,11 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout
var imgHeight = $('.img-thumbnail').find('img').height();
if (imgHeight <= 0)
imgHeight = 320;
- var textH = $('.well').height();
+ var textH = $('.img-subtitle').height();
textH = textH + 40;
var blackBorderHeight = jspContentHeight - (imgHeight + textH);
if ($('.jsPanel-content').length > 0) {
- $('.jsPanel-btn-min').attr('style', 'display: none');
- $('.jsPanel-btn-max').attr('style', 'display: none');
- $('.jsPanel-btn-norm').attr('style', 'display: none');
- $('.well').css('margin-bottom', blackBorderHeight);
+ $('.img-subtitle').css('margin-bottom', blackBorderHeight);
}
}
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 49086be..cdf11e5 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -428,7 +428,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
//da-body-views functions
$scope.openBodyView = function () {
-
+ //Check if browser 'REFRESHED' or 'RELOADED'
+ if ($rootScope.CommonData != null) {
//0. we will initially append container to load body
//check if localstorage has any settings
@@ -455,7 +456,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
$rootScope.isVisibleLogin = false;
$rootScope.loadSearchDataForBodyView();
-
console.log('currentBodyViewId pickjed from localStorage: ' + currentBodyViewId);
var openViews;
@@ -568,8 +568,25 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
$('#daImagePanel').css("left", '1px');
}, 350);
- }
+ }
+ }
+ else
+ {
+ //for now we are redirecting user to index page on page refresh because on refresh we lost the rootscope data and some of application
+ //features stopped working which were depenedent of rootscope data like List manager, annotation toolbar, settings, usermodule list, etc.
+
+ $location.path('/');
+ /*relaoding unavailable data for resolving refesh issue*/
+ /* console.log('Reloading json data for body view => BROWSER REFRESH ISSUE...');
+ $scope.loadDissectibleAnatomyData();
+
+ if ((typeof($rootScope.MenuModuleName) == "undefined") || $rootScope.MenuModuleName == null) {
+ $rootScope.MenuModuleName = "DA";
+ }*/
+
+
+ }
}
angular.element(document).ready(function (e) {
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
index e829130..a0410c3 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -3611,8 +3611,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
}
$rootScope.CheckRefresh = function (e) {
+ //Checking if 'REFRESHED' or 'RELOADED'
if ((e.keyCode === 116) || (e.keyCode == 82 && e.ctrlKey))
- $location.path('/');
+ $location.path('/'); //Redirecting to landing page
};
}]
);
\ No newline at end of file
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html b/400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html
new file mode 100644
index 0000000..b07dbd2
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/app/views/Link/iframeresizer.html
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html
index fb50db5..86c3b6a 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html
+++ b/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html
@@ -180,6 +180,9 @@
+