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
a39070b4
Commit
a39070b4
authored
Feb 04, 2017
by
Albert Gräf
Browse files
Fix up the nwworkingdir of the help browser's file browser (fixes
#237
).
parent
2ad6afbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/dialog_search.html
View file @
a39070b4
...
...
@@ -516,6 +516,7 @@ function add_events() {
}
function
register_window_id
(
id
,
attrs
)
{
var
doc_path
=
path
.
join
(
pdgui
.
get_lib_dir
(),
"
doc
"
);
translate_form
();
// Translate the placeholder for the search input:
document
.
getElementById
(
"
search_text
"
).
placeholder
=
...
...
@@ -526,7 +527,7 @@ function register_window_id(id, attrs) {
document
.
getElementById
(
"
results
"
).
textContent
=
l
(
"
search.building_index
"
);
document
.
getElementById
(
"
search_text
"
).
disabled
=
true
;
document
.
getElementById
(
"
file_browser
"
).
setAttribute
(
"
nwworkingdir
"
,
pdgui
.
get_gui_dir
()
+
"
/doc
"
);
// Probably need a doc getter in pdgui
doc_path
);
// Probably need a doc getter in pdgui
build_index
();
}
...
...
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