some fixes for the textviewer already
This commit is contained in:
parent
dd5cc8dcaf
commit
ad51328408
|
@ -1,14 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
<plugin version='1.0'>
|
||||
<info>
|
||||
<id>textviewer</id>
|
||||
<name>A simple text viewer for ownCloud</name>
|
||||
<version>0.2</version>
|
||||
<id>files_textviewer</id>
|
||||
<name>Text viewer</name>
|
||||
<version>0.3</version>
|
||||
<licence>AGPL</licence>
|
||||
<author>Icewind</author>
|
||||
<require>1.1</require>
|
||||
<require>2</require>
|
||||
</info>
|
||||
<runtime>
|
||||
<include>lib_textviewer.php</include>
|
||||
</runtime>
|
||||
</plugin>
|
||||
|
|
|
@ -95,8 +95,12 @@ TextViewer.loadHighlighter=function(ready){
|
|||
SyntaxHighlighter.vars.discoveredBrushes=null; //force the highlighter to refresh it's cache
|
||||
if(ready){
|
||||
ready();
|
||||
};
|
||||
}
|
||||
});
|
||||
}else{
|
||||
if(ready){
|
||||
ready();
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue