cleanup; wording

This commit is contained in:
rolux 2015-04-19 11:09:12 +02:00
commit 02552f3f83
4 changed files with 118 additions and 73 deletions

View file

@ -4,24 +4,33 @@
pandora.ui.licenseDialog = function() {
var that = pandora.ui.iconDialog({
buttons: [
Ox.Button({
id: 'close',
title: Ox._('Close')
})
.bindEvent({
click: function() {
that.close();
}
})
],
content: Ox._(
'This installation of <b>pan.do/ra</b> is unlicensed. '
+ 'Please contact your vendor for more information on '
+ 'how to acquire a license or renew an expired one.'
),
keys: {enter: 'close', escape: 'close'},
title: Ox._('License')
});
buttons: [
Ox.Button({
disabled: true,
id: 'close',
title: Ox._('Close')
})
.bindEvent({
click: function() {
that.close();
}
})
],
content: Ox._(
'This installation of <b>pan.do/ra</b> is unlicensed. '
+ 'Please contact your vendor for more information on '
+ 'how to acquire a license or renew an expired one.'
),
title: Ox._('License')
})
.bindEvent({
open: function() {
setTimeout(function() {
that.enableButton('close');
}, 15000);
}
});
return that;
};