mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Fix setting cookie
This commit is contained in:
@@ -31,7 +31,9 @@ define([
|
||||
$leftBlock : $(".left-block", this.$bottom),
|
||||
$rightBlock : $(".right-block", this.$bottom),
|
||||
fieldsToDelete : [],
|
||||
lng : window.p4.lng || "en",
|
||||
lng : function() {
|
||||
return typeof p4 === "undefined" ? "en" : (p4.lng || "en");
|
||||
},
|
||||
resizeListBlock: function () {
|
||||
var listBlock = $(".list-block", AdminFieldApp.$leftBlock);
|
||||
listBlock.height(AdminFieldApp.$window.height() - listBlock.offset().top - 10);
|
||||
|
Reference in New Issue
Block a user