BUG 0000 Fix validation when 'parent' object not exists
This commit is contained in:
@@ -204,8 +204,12 @@ $uidf=$_GET['UID'];
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
$oHeadPublisher->addScriptCode("
|
||||
if (typeof parent != 'undefined') {
|
||||
try {
|
||||
parent.setNode('$uidf');
|
||||
}
|
||||
catch(e) {
|
||||
}
|
||||
}
|
||||
");
|
||||
|
||||
$oStep = new Step();
|
||||
@@ -989,8 +993,12 @@ $uidf=$_GET['UID'];
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
$oHeadPublisher->addScriptCode("
|
||||
if (typeof parent != 'undefined') {
|
||||
try {
|
||||
parent.showCaseNavigatorPanel('$sStatus');
|
||||
}
|
||||
catch(e) {
|
||||
}
|
||||
}
|
||||
");
|
||||
|
||||
G::RenderPage('publish', 'blank');
|
||||
|
||||
Reference in New Issue
Block a user