Remove special case for css in OC.filePath
This commit is contained in:
parent
3df7a83c72
commit
e7e5333b12
|
@ -258,7 +258,7 @@ var OC={
|
|||
filePath:function(app,type,file){
|
||||
var isCore=OC.coreApps.indexOf(app)!==-1,
|
||||
link=OC.webroot;
|
||||
if((file.substring(file.length-3) === 'php' || file.substring(file.length-3) === 'css') && !isCore){
|
||||
if(file.substring(file.length-3) === 'php' && !isCore){
|
||||
link+='/index.php/apps/' + app;
|
||||
if (file != 'index.php') {
|
||||
link+='/';
|
||||
|
|
Loading…
Reference in New Issue