summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/boot/SC/InstantiateItem.xml6
-rw-r--r--src/main/resources/boot/SC/LocalObjectDefCreator.xml6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/main/resources/boot/SC/InstantiateItem.xml b/src/main/resources/boot/SC/InstantiateItem.xml
index 85005cd..1ad7b6c 100644
--- a/src/main/resources/boot/SC/InstantiateItem.xml
+++ b/src/main/resources/boot/SC/InstantiateItem.xml
@@ -20,9 +20,9 @@
}
// If this script is running in the Cristal GUI, open the new item.
- try {
- Packages.com.c2kernel.gui.MainFrame.treeBrowser.push(new DomainPath(domPath+"/"+name));
- } catch (e) { }
+ //try {
+ // Packages.com.c2kernel.gui.MainFrame.treeBrowser.push(new DomainPath(domPath+"/"+name));
+ //} catch (e) { }
]]></script>
</cristalscript>
diff --git a/src/main/resources/boot/SC/LocalObjectDefCreator.xml b/src/main/resources/boot/SC/LocalObjectDefCreator.xml
index 4e253f8..18de872 100644
--- a/src/main/resources/boot/SC/LocalObjectDefCreator.xml
+++ b/src/main/resources/boot/SC/LocalObjectDefCreator.xml
@@ -47,9 +47,9 @@
newItem.requestAction(agent.getSystemKey(), "workflow/domain/EditDefinition", Transitions.DONE, newObj);
// If this script is running in the Cristal GUI, open the new item.
- var tree = Packages.com.c2kernel.gui.MainFrame.treeBrowser;
- if (tree != null) // open new item in the gui
- tree.push(newPath);
+ //var tree = Packages.com.c2kernel.gui.MainFrame.treeBrowser;
+ //if (tree != null) // open new item in the gui
+ // tree.push(newPath);
]]></script>
</cristalscript>