button "Browse" of group "stack upload" of group "chooser" of group "stack" of group "viewing pane" of card "main" of stack "/Users/panos/Desktop/github/livecode/ide/Toolset/palettes/revonline.rev"
from:
on mouseUp
answer file "select stack to upload" with type "revolution stack|rev|REV"
if it is not empty then
local tPath
put it into tPath
put tPath into field "stack path" of the owner of me
--newStack tPath
end if
end mouseUp
to:
on mouseUp
local tResult
revIDEAnswerFileWithTypes "stack", "select stack to upload"
put the result into tResult
if tResult is not empty then
local tPath
put tResult into tPath
put tPath into field "stack path" of the owner of me
end if
end mouseUp
Binary changes:
Updated the mouseUp handler of:
button "Browse" of group "stack upload" of group "chooser" of group "stack" of group "viewing pane" of card "main" of stack "/Users/panos/Desktop/github/livecode/ide/Toolset/palettes/revonline.rev"
from:
to: