Revision 50326f36 web_client/src/gr/grnet/pithos/web/client/FileMenu.java

b/web_client/src/gr/grnet/pithos/web/client/FileMenu.java
131 131
//        contextMenu.addItem(sharingItem)
132 132
//                       .setVisible(propertiesVisible);
133 133
//
134
//        MenuItem propertiesItem = new MenuItem("<span>" + AbstractImagePrototype.create(images.viewText()).getHTML() + "&nbsp;Properties</span>", true, new PropertiesCommand(this, images, 0));
135
//        propertiesItem.getElement().setId("topMenu.file.properties");
136
//        contextMenu.addItem(propertiesItem)
137
//                       .setVisible(propertiesVisible);
134
        if (selectedFiles.size() > 0) {
135
            MenuItem propertiesItem = new MenuItem("<span>" + AbstractImagePrototype.create(images.viewText()).getHTML() + "&nbsp;Properties</span>", true, new PropertiesCommand(GSS.get(), null, selectedFiles, images, 0));
136
            addItem(propertiesItem);
137
        }
138 138
	}
139 139
}

Also available in: Unified diff