Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix action.cart (close #595)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jul 31, 2014
1 parent ac40c70 commit 1ca9238
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/plugins/action.cart/class.CartManager.js
Expand Up @@ -57,6 +57,7 @@ Class.create("CartManager", FetchedResultPane, {
this.stateChangeBuffer = window.setTimeout(function(){
oEl.fire("widget:updateState");
}, 1500);
this.reload();
},

clearContent: function(){
Expand Down Expand Up @@ -210,6 +211,7 @@ Class.create("CartManager", FetchedResultPane, {
var newNode = new AjxpNode(n.getPath(), n.isLeaf(), n.getLabel(), n.getIcon());
newNode.setMetadata($H(Object.clone(n.getMetadata().toObject())));
this._rootNode.addChild(newNode);
this.reload();

},

Expand Down
8 changes: 8 additions & 0 deletions core/src/plugins/action.cart/manifest.xml
Expand Up @@ -82,6 +82,14 @@
color: #999 !important;
font-size: 1.4em;
}
#action_cart div.class-FetchedResultPane{
border-radius: 15px;
margin: 0px 15px 10px;
background-color: rgba(255, 255, 255, 0.1);
}
#action_cart div.class-FetchedResultPane div.thumbnail_selectable_cell.detailed{
padding: 2px 0px;
}
</style>
]]></additional_content>
</component_config>
Expand Down

0 comments on commit 1ca9238

Please sign in to comment.