-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #374 from phuonghuynh/master
Update changes
- Loading branch information
Showing
14 changed files
with
428 additions
and
405 deletions.
There are no files selected for viewing
681 changes: 338 additions & 343 deletions
681
src/main/java/com/techlooper/service/impl/ChallengeServiceImpl.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
techlooper.factory("joinNowService", function(apiService, localStorageService) { | ||
|
||
var from = localStorageService.get("joinForm"); | ||
var id = localStorageService.get("id"); | ||
switch (from) { | ||
case "webinar": | ||
|
||
break; | ||
} | ||
|
||
localStorageService.remove("joinForm"); | ||
localStorageService.remove("id"); | ||
|
||
return { | ||
initialize: function() {} | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
src/main/webapp/assets/modules/loading-box/loadingBoxController.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
techlooper.controller("loadingBoxController", function (utils, jsonValue, $scope) { | ||
techlooper.controller("loadingBoxController", function (utils, jsonValue, $scope, localStorageService, $location) { | ||
utils.sendNotification(jsonValue.notifications.loading, $(window).height()); | ||
|
||
$scope.$on('$destroy', function () { | ||
utils.sendNotification(jsonValue.notifications.loaded); | ||
}); | ||
|
||
var joinNow = localStorageService.get("joinNow"); | ||
if (joinNow == true) { | ||
var fromLastPrint = localStorageService.get("lastFoot"); | ||
localStorageService.remove("lastFoot"); | ||
return $location.url(fromLastPrint); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters