Folders pane small improvements #PL-1874

This commit is contained in:
Konstantin Krivopustov 2013-02-21 06:42:26 +00:00
parent 79364b7b48
commit 883b254bf1

View File

@ -155,6 +155,8 @@ public class FoldersServiceBean implements FoldersService {
protected void loadFolderQuantity(Binding binding, AppFolder folder) {
try {
if (!StringUtils.isBlank(folder.getQuantityScript())) {
binding.setVariable("persistence", persistence);
binding.setVariable("metadata", metadata);
String variable = "style";
binding.setVariable("folder", folder);
binding.setVariable(variable, null);