diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2014-10-13 09:57:19 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2014-10-13 09:57:19 +0200 |
| commit | 1db6fec8df58a483f9fd945c394cca17bf6fe55b (patch) | |
| tree | dfca4008f6b363bb276466366cbf1f4fa7ab4dae | |
| parent | ff298b98407782959eeae724e0ba6b63f3c7d0b2 (diff) | |
Missed two com.c2kernel refs in the scripts
| -rw-r--r-- | src/main/resources/boot/SC/InstantiateItem.xml | 8 | ||||
| -rw-r--r-- | src/main/resources/boot/SC/LocalObjectDefCreator.xml | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/resources/boot/SC/InstantiateItem.xml b/src/main/resources/boot/SC/InstantiateItem.xml index 1365d61..abfdba2 100644 --- a/src/main/resources/boot/SC/InstantiateItem.xml +++ b/src/main/resources/boot/SC/InstantiateItem.xml @@ -1,7 +1,7 @@ <cristalscript> <output name="errors" type="org.cristalise.kernel.scripting.ErrorInfo" /> <script language="javascript" name="InstantiateItem"><![CDATA[ - importClass(Packages.com.c2kernel.lookup.DomainPath); + importClass(Packages.org.cristalise.kernel.lookup.DomainPath); // Get parameters from outcome var name = job.getOutcome().getField("ObjectName"); @@ -21,9 +21,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.org.cristalise.gui.MainFrame.treeBrowser.push(new DomainPath(domPath+"/"+name)); + } catch (e) { } ]]></script> </cristalscript>
\ No newline at end of file diff --git a/src/main/resources/boot/SC/LocalObjectDefCreator.xml b/src/main/resources/boot/SC/LocalObjectDefCreator.xml index 39f49e7..b30037b 100644 --- a/src/main/resources/boot/SC/LocalObjectDefCreator.xml +++ b/src/main/resources/boot/SC/LocalObjectDefCreator.xml @@ -29,7 +29,7 @@ // If this script is running in the Cristal GUI, open the new item.
try {
- var tree = Packages.com.c2kernel.gui.MainFrame.treeBrowser;
+ var tree = Packages.org.cristalise.gui.MainFrame.treeBrowser;
if (tree != null) // open new item in the gui
tree.push(new DomainPath(domPath+"/"+name));
} catch (e) { // hopefully catch any classloading errors on headless systems. hopefully.
|
