mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
refactoring xforms js code. introducing an object model that will be helpful for implementing repeated elements.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -79,7 +79,8 @@ public class XFormsInputMethod
|
||||
|
||||
// a script with config information and globals.
|
||||
Element e = result.createElement("script");
|
||||
e.appendChild(result.createTextNode("djConfig = { isDebug: false };\n" +
|
||||
e.appendChild(result.createTextNode("djConfig = { isDebug: " + LOGGER.isDebugEnabled() +
|
||||
" };\n" +
|
||||
"var WEBAPP_CONTEXT = \"" + cp + "\";\n"));
|
||||
div.appendChild(e);
|
||||
|
||||
|
Reference in New Issue
Block a user