Posts made by David Scotson

Also, this probably also explains why I sometimes see an attempt to load a .css file called "undefined":

// Combo resource moodle/1351156939/undefined/undefined.css ($CFG->dirroot/mod/undefined/yui/assets/skins/sam/undefined.css) not found!

I'm assuming something's going wrong with the javascript.
I've turned off most of the Moodle CSS, by not inheriting from any base theme, and using the plugins_exclude_sheets = true setting.

But I'm still seeing two CSS files for the calendar/eventmanager.css

Mysteriously, those two CSS files are not referenced in the HTML. The only mention of eventmanager is in some YUI javascript. I assume something clever is going on and the YUI javascript is including the files it needs.

However, the content of both files overlaps, with the last four lines being identical:


/*
YUI 3.7.3 (build 5687)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
.yui3-widget-hidden{display:none}.yui3-widget-content{overflow:hidden}.yui3-widget-content-expanded{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;height:100%}.yui3-widget-tmp-forcesize{overflow:hidden!important}#yui3-css-stamp.skin-sam-widget-base{display:none}
/*
YUI 3.7.3 (build 5687)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
.yui3-widget-stacked .yui3-widget-shim{opacity:0;filter:alpha(opacity=0);position:absolute;border:0;top:0;left:0;padding:0;margin:0;z-index:-1;width:100%;height:100%;_width:0;_height:0}#yui3-css-stamp.skin-sam-widget-stack{display:none}
/*
YUI 3.7.3 (build 5687)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
.yui3-overlay{position:absolute}.yui3-overlay-hidden{visibility:hidden}.yui3-widget-tmp-forcesize .yui3-overlay-content{overflow:hidden!important}#yui3-css-stamp.skin-sam-overlay{display:none}
.calendar-event-panel {background-color:#666;border:2px solid #666;border-width: 0 2px 2px 0;}
.calendar-event-panel .yui3-overlay-content {background-color:#fff;border:1px solid #555;margin-top:-5px;margin-left:-5px;}
.calendar-event-panel .yui3-overlay-content h2.eventtitle {margin:3px 5px 2px;padding:0;text-align:center;}
.calendar-event-panel .eventcontent {margin:5px;padding:0;text-align:center;}


and


.calendar-event-panel {background-color:#666;border:2px solid #666;border-width: 0 2px 2px 0;}
.calendar-event-panel .yui3-overlay-content {background-color:#fff;border:1px solid #555;margin-top:-5px;margin-left:-5px;}
.calendar-event-panel .yui3-overlay-content h2.eventtitle {margin:3px 5px 2px;padding:0;text-align:center;}
.calendar-event-panel .eventcontent {margin:5px;padding:0;text-align:center;}


I think it's a bug but I'm too confused by it to file one that makes any sense. Any clues as to what's going on?

I'm guessing (from the repetitive copyright statements) that the previous one is actually 4 files concatenated into one but beyond that I'm a bit lost.
Average of ratings: -
edit: actually turns out this was me being stupid and getting two similarly named files mixed up. You can ignore the rest of this comment.

Initially it was just a bad feeling I had about it, as there's a heck of a lot of code there, that doesn't seem to be doing much but I did some poking around so here's the first bug:

https://tracker.moodle.org/browse/MDL-37695