Index: lams_common/src/flash/org/lamsfoundation/lams/common/ui/LFMessage.as =================================================================== diff -u -r1d27847ce80604256f2f30d51b5edc2073dc1268 -rd32bbe57a641c76c9e9d45d2350320f7a34e7256 --- lams_common/src/flash/org/lamsfoundation/lams/common/ui/LFMessage.as (.../LFMessage.as) (revision 1d27847ce80604256f2f30d51b5edc2073dc1268) +++ lams_common/src/flash/org/lamsfoundation/lams/common/ui/LFMessage.as (.../LFMessage.as) (revision d32bbe57a641c76c9e9d45d2350320f7a34e7256) @@ -54,9 +54,11 @@ * @param handler A handler for the click events broadcast when the buttons are clicked. In addition to the standard click event object properties, there is an additional detail property, which contains the flag value of the button that was clicked (Alert.OK, Alert.CANCEL, Alert.YES, Alert.NO). This handler can be a function or an object * @return */ - public static function showMessageConfirm(msg:String, msgTitle:String, okHandler:Function, cancelHandler:Function, okLabel:String, cancelLabel:String){ + public static function showMessageConfirm(msg:String,okHandler:Function, cancelHandler:Function, okLabel:String, cancelLabel:String, msgTitle:String){ var alt:Alert; - var customTitle = Dictionary.getValue(msgTitle) + if(msgTitle == null){ + msgTitle = Dictionary.getValue('al_confirm'); + } var handlerObj = new Object(); handlerObj.click = function(e){ if(e.detail == Alert.OK){ @@ -77,7 +79,7 @@ }else{ Alert.cancelLabel= Dictionary.getValue('al_cancel'); } - alt = Alert.show(msg,customTitle,Alert.OK | Alert.CANCEL, null, handlerObj, null, Alert.OK); + alt = Alert.show(msg,msgTitle,Alert.OK | Alert.CANCEL, null, handlerObj, null, Alert.OK); } public function get reference():Object{