Commit a6f7c3b0 authored by Matthieu Le Corre's avatar Matthieu Le Corre
Browse files

Really fix issue #20 ?


Signed-off-by: Matthieu Le Corre's avatarMatthieu Le Corre <matthieu.lecorre@univ-nantes.fr>
parent b10d7234
## 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
......
......@@ -56,7 +56,6 @@ class Config {
}
public function getAppValue($key) {
return $this->config->getAppValue($this->appName, $key);
}
......
......@@ -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") ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment