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 /src/main/resources/boot/SC/InstantiateItem.xml | |
| parent | ff298b98407782959eeae724e0ba6b63f3c7d0b2 (diff) | |
Missed two com.c2kernel refs in the scripts
Diffstat (limited to 'src/main/resources/boot/SC/InstantiateItem.xml')
| -rw-r--r-- | src/main/resources/boot/SC/InstantiateItem.xml | 8 |
1 files changed, 4 insertions, 4 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 |
