The style for the minimal error widget is not set in the example
Bug #491337 reported by
Michael Nelson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAZR Javascript Library |
Fix Released
|
Medium
|
Michael Nelson |
Bug Description
See:
firefox examples/
Currently the style is not being applied to the widget at all.
Related branches
lp:~michael.nelson/lazr-js/491337-error-style-try-2
Merged
into
lp:lazr-js
- Brad Crittenden (community): Approve (code)
-
Diff: 127 lines (+19/-17)3 files modifiedexamples/error/minimal_example.html (+7/-6)
src-js/lazrjs/error/error-widget-minimal.js (+6/-7)
src-js/lazrjs/error/tests/error.js (+6/-4)
Changed in lazr-js: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
As far is I can tell, this is related to the comment in src-py/ lazr.js. meta.Builder. generate_ skin_modules:
{{{
# If the computed module_name does not match the
# Javascript module name without the namespace, then use
# it as a postfix to disambiguate possibly multiple
# modules.
}}}
which ensures that the skin module name is not ambiguous, but this skin module name is not then loaded (I assume because nothing in the YUI(LAZR_ YUI_CONFIG) .use(.. ., 'lazr.error- widgets' ,...) does not cause the re-named module to load? I'm not sure why, and haven't looked further into it.
I'm simply moving the required styles here into error-skin.css.