hg merge 49b6e2e043b1
This commit is contained in:
commit
a2cd4a1326
|
@ -703,12 +703,12 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
|
||||||
{
|
{
|
||||||
XhtmlDocument doc = new XhtmlDocument();
|
XhtmlDocument doc = new XhtmlDocument();
|
||||||
doc.appendBody(table);
|
doc.appendBody(table);
|
||||||
if (extension.getStyleURL() != null)
|
if (extension != null && extension.getStyleURL() != null)
|
||||||
{
|
{
|
||||||
link l = new link(extension.getStyleURL(), "stylesheet", "text/css");
|
link l = new link(extension.getStyleURL(), "stylesheet", "text/css");
|
||||||
doc.appendHead(l);
|
doc.appendHead(l);
|
||||||
}
|
}
|
||||||
if (extension.getScriptURL() != null)
|
if (extension != null && extension.getScriptURL() != null)
|
||||||
{
|
{
|
||||||
script jslink = new script();
|
script jslink = new script();
|
||||||
jslink.setLanguage("javascript");
|
jslink.setLanguage("javascript");
|
||||||
|
|
Loading…
Reference in New Issue