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