diff options
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 |
