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

Commit d9c54f0

Browse files
committed
Fix Cypher.encfs actions (use file parameter instead of dir)
1 parent 6f53512 commit d9c54f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/src/plugins/cypher.encfs/manifest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
var conn = new Connexion();
4343
conn.setParameters($H({
4444
get_action:'encfs.cypher_folder',
45-
dir:ajaxplorer.getUserSelection().getUniqueNode().getPath(),
45+
file:ajaxplorer.getUserSelection().getUniqueNode().getPath(),
4646
pass: passValue
4747
}));
4848
conn.onComplete = function(transport){
@@ -68,7 +68,7 @@
6868
</processing>
6969
</action>
7070
<action name="encfs.cypher_folder">
71-
<gui src="cypher.encfs/ICON_SIZE/encrypted.png" text="encfs.1" title="encfs.2" hasAccessKey="false">
71+
<gui src="cypher.encfs/ICON_SIZE/encrypted.png" iconClass="icon-credit-card" text="encfs.1" title="encfs.2" hasAccessKey="false">
7272
<context dir="false" recycle="false" selection="true" actionBar="false" contextMenu="true"/>
7373
<selectionContext dir="true" file="false" recycle="false" unique="true" evalMetadata="metadata.get('ENCFS_clear_folder_mounted')"/>
7474
</gui>
@@ -77,7 +77,7 @@
7777
var conn = new Connexion();
7878
conn.setParameters($H({
7979
get_action:'encfs.cypher_folder',
80-
dir:ajaxplorer.getUserSelection().getUniqueNode().getPath()
80+
file:ajaxplorer.getUserSelection().getUniqueNode().getPath()
8181
}));
8282
conn.onComplete = function(transport){
8383
PydioApi.getClient().parseXmlMessage(transport.responseXML);
@@ -92,7 +92,7 @@
9292
</processing>
9393
</action>
9494
<action name="encfs.uncypher_folder">
95-
<gui src="cypher.encfs/ICON_SIZE/encrypted.png" text="encfs.3" title="encfs.4" hasAccessKey="false">
95+
<gui src="cypher.encfs/ICON_SIZE/encrypted.png" iconClass="icon-credit-card" text="encfs.3" title="encfs.4" hasAccessKey="false">
9696
<context dir="false" recycle="false" selection="true" actionBar="false" contextMenu="true"/>
9797
<selectionContext dir="true" file="false" recycle="false" unique="true" evalMetadata="metadata.get('ENCFS_clear_folder') &amp;&amp; !metadata.get('ENCFS_clear_folder_mounted')"/>
9898
</gui>
@@ -103,7 +103,7 @@
103103
var conn = new Connexion();
104104
conn.setParameters($H({
105105
get_action:'encfs.uncypher_folder',
106-
dir:ajaxplorer.getUserSelection().getUniqueNode().getPath(),
106+
file:ajaxplorer.getUserSelection().getUniqueNode().getPath(),
107107
pass: passValue
108108
}));
109109
conn.onComplete = function(transport){

0 commit comments

Comments
 (0)