Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David MacDonald
purr-data
Commits
c42ed8b7
Commit
c42ed8b7
authored
Jan 17, 2017
by
Jonathan Wilkes
Browse files
fix #225: Help browser: Bad arguments for message 'open' to object 'pd'
parent
d0d1e1cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/dialog_search.html
View file @
c42ed8b7
...
...
@@ -300,12 +300,11 @@ function file_browser_click() {
function
file_browser_callback
(
elem
)
{
var
doc
=
elem
.
value
;
//pdgui.post("file callback: file is " + elem.value);
//pdgui.post("dir is " + pdgui.defunkify_windows_path(path.dirname(doc)));
//pdgui.post("file is " + pdgui.defunkify_windows_path(path.basename(doc)));
pdgui
.
doc_open
(
pdgui
.
defunkify_windows_path
(
path
.
dirname
(
doc
)),
pdgui
.
defunkify_windows_path
(
path
.
basename
(
doc
)));
display_directory
(
pdgui
.
defunkify_windows_path
(
path
.
dirname
(
doc
)));
if
(
doc
!==
""
)
{
pdgui
.
doc_open
(
pdgui
.
defunkify_windows_path
(
path
.
dirname
(
doc
)),
pdgui
.
defunkify_windows_path
(
path
.
basename
(
doc
)));
display_directory
(
pdgui
.
defunkify_windows_path
(
path
.
dirname
(
doc
)));
}
}
function
console_unwrap_tag
(
console_elem
,
tag_name
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment