JS API Update
Build the plugin console inside of the execute function. This allows the tab name to update correctly based on the resource being processed. (It will fallback without correct tab names if not)
This commit is contained in:
parent
ce86445ad3
commit
0729da39f3
1 changed files with 3 additions and 1 deletions
|
@ -10,10 +10,12 @@ var dialogue = new MultipleChoiceDialogue("Bytecode Viewer - WARNING",
|
|||
"WARNING: This will load the classes into the JVM and execute the initialize function"
|
||||
+ "\nfor each class. IF THE FILE YOU'RE LOADING IS MALICIOUS, DO NOT CONTINUE.",
|
||||
["Continue", "Cancel"]);
|
||||
var gui = new PluginConsole("Skeleton");
|
||||
var gui;
|
||||
|
||||
function execute(classNodeList)
|
||||
{
|
||||
gui = new PluginConsole("Skeleton");
|
||||
|
||||
if(dialogue.promptChoice() == 0)
|
||||
{
|
||||
var needsWarning = false;
|
||||
|
|
Loading…
Reference in a new issue