Browse Source

Remove special case for css in OC.filePath

remotes/origin/fix-10825
Robin Appelman 12 years ago
parent
commit
e7e5333b12
  1. 2
      core/js/js.js

2
core/js/js.js

@ -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…
Cancel
Save