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

Commit

Permalink
Exclude mime shared_* for "Share" and "To selection cart" actions, to…
Browse files Browse the repository at this point in the history
… avoid having them appear in user dashboard.
  • Loading branch information
cdujeu committed Mar 18, 2014
1 parent 0d3d736 commit f082847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/action.cart/manifest.xml
Expand Up @@ -75,7 +75,7 @@
<action name="send-selection-to-cart">
<gui src="" text="action.cart.1" title="action.cart.2" iconClass="icon-suitcase">
<context dir="true" recycle="true" selection="true" actionBar="false" contextMenu="true" actionBarGroup="change"/>
<selectionContext dir="true" file="true" recycle="false" unique="false"/>
<selectionContext dir="true" file="true" recycle="false" unique="false" evalMetadata="!(metadata.get('ajxp_mime').startsWith('shared_'))"/>
</gui>
<rightsContext adminOnly="false" noUser="false" read="true" userLogged="true" write="false"/>
<processing>
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/action.share/manifest.xml
Expand Up @@ -87,7 +87,7 @@
actionBar="true" contextMenu="true" infoPanel="true"
actionBarGroup="get">
</context>
<selectionContext dir="true" file="true" recycle="false" unique="true"></selectionContext></gui>
<selectionContext dir="true" evalMetadata="!(metadata.get('ajxp_mime').startsWith('shared_'))" file="true" recycle="false" unique="true"></selectionContext></gui>
<rightsContext noUser="true" userLogged="only" read="true" write="false" adminOnly=""></rightsContext>
<processing>
<clientCallback prepareModal="true"><![CDATA[
Expand Down

0 comments on commit f082847

Please sign in to comment.