MDL-41966 calendar: Fix missing css files issue

This commit is contained in:
Ankit Agarwal
2013-10-21 09:24:38 +08:00
parent 8173f4cf01
commit c3faa40f0b
+1 -1
View File
@@ -255,7 +255,7 @@ while (count($parts)) {
// Submodules are stored in a directory with the full submodule name.
// We need to remove the -debug.js, -min.js, and .js from the file name to calculate that directory name.
$frankenstyledirectoryname = str_replace(array('-min.js', '-debug.js', '.js'), '', $frankenstylefilename);
$frankenstyledirectoryname = str_replace(array('-min.js', '-debug.js', '.js', '.css'), '', $frankenstylefilename);
// By default, try and use the /yui/build directory.
$contentfile = $dir . '/yui/build/' . $frankenstyledirectoryname;