-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I know this is the private editor api but thought it worth flagging as it's something we run into whilst developing a PC chrome extension;
In the Code Editor api, there is a method assets:create:script
which subsequently calls assets:create
with a third boolean parameter noSelect
which if I'm correct, should create a script but then optionally select it in the tree view after it's created. The function for assets:create
however ignores this parameter and continues to select it by default regardless of the noSelect
Steps to repro:
In the code editor console dropthe following:
editor.call('assets:create:script', { noSelect: true })
Note how the script is created and also selected ignoring the noSelect param
I believe that line 8645 in the compiled code editor script should only execute if args.noSelect
is true