Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/TransitionPropertiesDialog.as =================================================================== diff -u -r735adeb5d2ea7849b86d4991480630c4613fadec -r36216b559500249083901e60a3f39be9c2a4e609 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/TransitionPropertiesDialog.as (.../TransitionPropertiesDialog.as) (revision 735adeb5d2ea7849b86d4991480630c4613fadec) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/cv/TransitionPropertiesDialog.as (.../TransitionPropertiesDialog.as) (revision 36216b559500249083901e60a3f39be9c2a4e609) @@ -85,7 +85,7 @@ delete this.onEnterFrame; //text for labels - section_lbl.text = Dictionary.getValue('trans_dlg_gate'); + section_lbl.text = Dictionary.getValue('gate_btn'); gateType_lbl.text = Dictionary.getValue('trans_dlg_gatetypecmb'); //Set the text for buttons @@ -171,9 +171,16 @@ private function ok(){ trace('OK'); //If validation successful commit + close parent window - //Fire callback with selectedId - dispatchEvent({type:'okClicked',target:this,gate:getSelectedGateType()}); + if (getSelectedGateType() == Activity.NO_GATE_ACTIVITY_TYPE){ + cancel() + + }else { + //Fire callback with selectedId + dispatchEvent({type:'okClicked',target:this,gate:getSelectedGateType()}); _container.deletePopUp(); + } + + }