Merge pull request #1978 from Alfresco/fix/AFI-203

AFI-203 : Option to edit the file in Google Docs should be visible af…
This commit is contained in:
MohinishSah 2023-06-06 12:46:35 +05:30 committed by GitHub
commit fd8e44e365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,10 @@ function runAction(p_params)
if (p_params.destNode.hasAspect("cm:lockable") && !p_params.destNode.hasAspect("trx:transferred"))
{
p_params.destNode.unlock();
if(p_params.destNode.hasAspect("gd2:editingInGoogle"))
{
p_params.destNode.removeAspect("gd2:editingInGoogle");
}
}
var resultId = originalDoc.name,