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

Commit 3a36856

Browse files
committed
Set preview_seed on parent node when file is modified, should fix #1213
1 parent 7d0a0bf commit 3a36856

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/src/plugins/editor.pixlr/class.PixlrEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Class.create("PixlrEditor", AbstractEditor, {
5858
}else if(this.editorOptions.context.__className == "AjxpTabulator"){
5959
this.editorOptions.context.closeTab("editor.pixlr:/" + this.currentNode.getPath());
6060
}
61-
pydio.getController().fireAction('refresh');
61+
pydio.fireNodeRefresh(this.currentNode);
6262
}.bind(this);
6363
conn.sendAsync();
6464
},

core/src/plugins/editor.zoho/class.ZohoEditor.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ Class.create("ZohoEditor", AbstractEditor, {
4141
conn.addParameter("get_action", "retrieve_from_zohoagent");
4242
conn.onComplete = function(transport){
4343
if(transport.responseText == "MODIFIED"){
44-
ajaxplorer.fireNodeRefresh(this.currentNode);// fireContextRefresh();
44+
this.currentNode.getParent().getMetadata().set('preview_seed', Math.round(date.getTime()*Math.random()));
45+
pydio.fireNodeRefresh(this.currentNode);
4546
}
4647
}.bind(this);
4748
conn.sendAsync();

0 commit comments

Comments
 (0)