First step moving toward a shared component template and stylesheet across multiple machines

This commit is contained in:
Jeff Parsons 2016-04-19 17:04:53 -07:00
commit f390bdb76b
7 changed files with 12 additions and 16 deletions

View file

@ -1205,7 +1205,11 @@ MarkOut.prototype.convertMDMachineLinks = function(sBlock)
*/
if (!sMachineXSLFile || sMachineXSLFile.indexOf("components.xsl") >= 0) {
if (this.fDebug) {
sMachineXSLFile = "/modules/" + sMachineClass + "js/templates/components.xsl";
if (sMachineClass == "c1p") {
sMachineXSLFile = "/modules/c1pjs/templates/components.xsl";
} else {
sMachineXSLFile = "/modules/shared/templates/components.xsl";
}
}
}