Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Commit 8afb82d

Browse files
jjjj
authored andcommitted
Fixed ngCookies issue in popup.html
1 parent bfa3f74 commit 8afb82d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/main/webapp/js/controllers.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -649,9 +649,8 @@ $scope.LaunchLimes = function(){
649649
params.ReviewRelation = $scope.limes.ReviewRelation;
650650
params.numberOfProps = numberOfProps;
651651

652-
$window.$windowScope = $scope;
652+
window.$windowScope = $scope;
653653
var newWindow = $window.open('popup.html#/popup-limes', 'frame', 'resizeable,height=600,width=800');
654-
$window.open('popup.html#/popup-limes', 'frame', 'resizeable,top=100,left=100,height=400,width=400');
655654
newWindow.params = params;
656655
};
657656

@@ -2049,7 +2048,6 @@ var TripleGeoCtrl = function($scope, $http, ConfigurationService, flash, ServerE
20492048

20502049
$window.$windowScope = $scope;
20512050
var newWindow = $window.open('popup.html#/popup-triplegeo', 'frame', 'resizeable,height=600,width=800');
2052-
//$window.open('popup.html#/popup-limes', 'frame', 'resizeable,top=100,left=100,height=400,width=400');
20532051
newWindow.params = params;
20542052
};
20552053

src/main/webapp/popup.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353
<script src="lib/jquery/jquery-1.9.1.js"></script>
5454
<script src="lib/jquery/jquery-ui-1.10.1.custom.min.js"></script>
5555

56-
<!-- <script src="lib/ace/ace.js" charset="utf-8"></script> -->
57-
<script src="lib/bootstrap/bootstrap.js"></script>
56+
<script src="lib/bootstrap/bootstrap.js"></script>
5857
<script src="lib/angularjs/angular.js"></script>
59-
<script src="lib/angularjs/angular-route.js">
58+
<script src="lib/angularjs/angular-cookies.js"></script>
59+
<script src="lib/angularjs/angular-route.js"></script>
6060
<script src="lib/modal-master/bootstrap-modal.js"></script>
6161
<script src="lib/modal-master/bootstrap-modalmanager.js"></script>
6262
<script src="js/config.js"></script>

0 commit comments

Comments
 (0)