Skip to content

Commit

Permalink
fix audition
Browse files Browse the repository at this point in the history
  • Loading branch information
teeteeteeteetee committed Nov 22, 2023
1 parent 31c56b6 commit d6760cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/host/AUDT.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,15 @@ function details(){

try{

if(app.activeDocument && app.activeDocument.reflect.name){
return app.activeDocument.reflect.name;
if(app.activeDocument && app.activeDocument.displayName){
return app.activeDocument.displayName;
}else{
return "No file.";
}

}catch(e){
return "";
}

return app.activeDocument.reflect.name;

}

Expand Down
1 change: 1 addition & 0 deletions src/rpc_client-src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ if (csInterface.getApplicationID() === "AEFT") {
return;
});
if (isDynamicLink)
// TODO: handle dunamic link
throw new Error("Started as dynamic link");
}

Expand Down

0 comments on commit d6760cd

Please sign in to comment.