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

Commit

Permalink
Set preview_seed on parent node when file is modified, should fix #1213
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Oct 3, 2016
1 parent 7d0a0bf commit 3a36856
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/editor.pixlr/class.PixlrEditor.js
Expand Up @@ -58,7 +58,7 @@ Class.create("PixlrEditor", AbstractEditor, {
}else if(this.editorOptions.context.__className == "AjxpTabulator"){
this.editorOptions.context.closeTab("editor.pixlr:/" + this.currentNode.getPath());
}
pydio.getController().fireAction('refresh');
pydio.fireNodeRefresh(this.currentNode);
}.bind(this);
conn.sendAsync();
},
Expand Down
3 changes: 2 additions & 1 deletion core/src/plugins/editor.zoho/class.ZohoEditor.js
Expand Up @@ -41,7 +41,8 @@ Class.create("ZohoEditor", AbstractEditor, {
conn.addParameter("get_action", "retrieve_from_zohoagent");
conn.onComplete = function(transport){
if(transport.responseText == "MODIFIED"){
ajaxplorer.fireNodeRefresh(this.currentNode);// fireContextRefresh();
this.currentNode.getParent().getMetadata().set('preview_seed', Math.round(date.getTime()*Math.random()));
pydio.fireNodeRefresh(this.currentNode);
}
}.bind(this);
conn.sendAsync();
Expand Down

0 comments on commit 3a36856

Please sign in to comment.