Logout confirmation window has been moved to the upper-right corner, skinned to fit in better with other BBB components.

This commit is contained in:
jtrobinson 2013-08-01 08:48:00 -07:00
parent 3b758bb0b1
commit 1463b52689
2 changed files with 13 additions and 3 deletions

View File

@ -674,3 +674,12 @@ MDIWindow { /*None of the following properties are overridden by the MDIWindow c
{
icon: Embed('assets/images/webcam.png');
}
Alert {
borderColor: #DFDFDF;
backgroundColor: #EFEFEF;
borderAlpha: 1;
shadowDistance: 1;
dropShadowColor: #FFFFFF;
color: #000000;
}

View File

@ -176,11 +176,12 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
private function confirmLogout():void {
if (toolbarOptions.confirmLogout){
// Confirm logout using built-in alert
// Confirm logout using built-in alert; need to re skin // border // branding
// bbb.oldlocalewindow.reminder1
var alert:Alert = Alert.show(ResourceUtil.getInstance().getString('bbb.logout.confirm.message'), ResourceUtil.getInstance().getString('bbb.logout.confirm.title'), Alert.YES | Alert.NO, this, alertLogout, null, Alert.YES);
var newX:Number = this.width/2 - alert.width/2;
var newY:Number = 86;
var newX:Number = langSelector.x + langSelector.width/2;
var newY:Number = btnLogout.y;
alert.validateNow();
alert.move(newX, newY);