forgot to commit files

This commit is contained in:
Henry Oswald 2014-08-13 16:04:23 +01:00
parent 9b2ce4860a
commit d033238efc
3 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,7 @@ define [
"ng-context-menu" "ng-context-menu"
"underscore" "underscore"
"ngSanitize" "ngSanitize"
"ngCookies" "ipCookie"
]) ])
return App return App

View file

@ -8,5 +8,5 @@ define [
"libs/jquery.storage" "libs/jquery.storage"
"libs/fineuploader" "libs/fineuploader"
"libs/angular-sanitize-1.2.17" "libs/angular-sanitize-1.2.17"
"libs/angular-cookies-1.2.22" "libs/angular-cookie"
], () -> ], () ->

View file

@ -1,10 +1,10 @@
define [ define [
"base" "base"
], (App) -> ], (App) ->
App.controller "TranslationsPopupController", ($scope, $cookies) -> App.controller "TranslationsPopupController", ($scope, ipCookie) ->
$scope.hidei18nNotification = $cookies.hidei18nNotification $scope.hidei18nNotification = ipCookie("hidei18nNotification")
$scope.dismiss = -> $scope.dismiss = ->
$cookies.hidei18nNotification = true ipCookie("hidei18nNotification", true, {expires:180})
$scope.hidei18nNotification = $cookies.hidei18nNotification $scope.hidei18nNotification = ipCookie("hidei18nNotification")