Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
uncloud
files_readmemd
Commits
a6f7c3b0
Commit
a6f7c3b0
authored
Jun 19, 2019
by
Matthieu Le Corre
Browse files
Really fix issue
#20
?
Signed-off-by:
Matthieu Le Corre
<
matthieu.lecorre@univ-nantes.fr
>
parent
b10d7234
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
a6f7c3b0
## 1.1.0 NOT RELEASED YET
### Fixed
-
Search result issue when result match both current and another folder
[
#20
](
https://gitlab.univ-nantes.fr/uncloud/files_readmemd/issues/20#
)
-
NextCloud log error spamming
[
#21
](
https://gitlab.univ-nantes.fr/uncloud/files_readmemd/issues/21#
)
-
Error in public page breaks edition and menu
...
...
lib/Services/Config.php
View file @
a6f7c3b0
...
...
@@ -56,7 +56,6 @@ class Config {
}
public
function
getAppValue
(
$key
)
{
return
$this
->
config
->
getAppValue
(
$this
->
appName
,
$key
);
}
...
...
src/main.js
View file @
a6f7c3b0
...
...
@@ -121,9 +121,11 @@ OCA.ReadmeMD.App = {
}
else
{
if
(
self
.
header
.
content
!==
null
)
{
self
.
header
.
container
.
removeClass
(
"
hidden
"
)
;
$
(
"
#filestable > tfoot > tr
"
).
height
(
"
auto
"
)
;
}
;
if
(
self
.
readme
.
content
!==
null
)
{
self
.
readme
.
container
.
removeClass
(
"
hidden
"
)
;
$
(
"
#filestable > tfoot > tr
"
).
height
(
"
auto
"
)
;
}
;
}
;
}
else
{
...
...
@@ -131,9 +133,11 @@ OCA.ReadmeMD.App = {
if
(
$
(
mutation
.
target
).
hasClass
(
"
hidden
"
)
&&
window
.
location
.
search
.
indexOf
(
"
view
"
)
==
-
1
)
{
if
(
self
.
header
.
content
!==
null
)
{
self
.
header
.
container
.
removeClass
(
"
hidden
"
)
;
$
(
"
#filestable > tfoot > tr
"
).
height
(
"
auto
"
)
;
}
;
if
(
self
.
readme
.
content
!==
null
)
{
self
.
readme
.
container
.
removeClass
(
"
hidden
"
)
;
$
(
"
#filestable > tfoot > tr
"
).
height
(
"
auto
"
)
;
}
;
}
else
{
self
.
header
.
container
.
addClass
(
"
hidden
"
)
;
...
...
Write
Preview
Supports
Markdown
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