Skip to content
Code-Schnipsel Gruppen Projekte
Commit f49fb348 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'dev'

Übergeordnete c18731b6 ff11219b
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
1 Merge Request!63Update 'next-2.x' with latest changes from 'main'
......@@ -3,9 +3,6 @@
*
* @module qui/controls/windows/Alert
* @author www.pcsg.de (Henning Leutz)
*
* @require qui/controls/windows/Popup
* @require css!qui/controls/windows/Alert.css
*/
define('qui/controls/windows/Alert', [
......@@ -51,4 +48,4 @@ define('qui/controls/windows/Alert', [
this.getElm().addClass('qui-windows-alert');
}
});
});
\ No newline at end of file
});
......@@ -4,11 +4,6 @@
* @module qui/controls/windows/Confirm
* @author www.pcsg.de (Henning Leutz)
*
* @require qui/controls/windows/Popup
* @require qui/controls/buttons/Button
* @require qui/utils/Controls
* @require css!qui/controls/windows/Confirm.css
*
* @event onSubmit
* @event onCancel
*/
......@@ -251,6 +246,18 @@ define('qui/controls/windows/Confirm', [
);
}
var buttons = this.$Buttons.getElements('button');
buttons.set('tabindex', 1);
buttons.set('unselectable', null);
buttons.setStyle('outline', null);
if (buttons.length) {
(function () {
buttons[0].focus();
}).delay(200);
}
this.parent();
},
......
......@@ -9,6 +9,11 @@
-webkit-transform: translateZ(0);
}
.qui-window-popup:focus {
box-shadow: none;
outline: 0;
}
.qui-window-popup-title {
background: #DDDDDD;
clear: both;
......
......@@ -4,19 +4,6 @@
* @module qui/controls/windows/Popup
* @author www.pcsg.de (Henning Leutz)
*
* @require qui/QUI
* @require qui/controls/Control
* @require qui/controls/utils/Background
* @require qui/controls/loader/Loader
* @require qui/Locale
* @require qui/utils/Controls
* @require qui/utils/Functions
* @require qui/utils/System
* @require qui/controls/windows/locale/de
* @require qui/controls/windows/locale/en
* @require css!qui/controls/windows/Popup.css
* @require css!qui/controls/buttons/Button.css
*
* @event onOpen [ self ]
* @event onOpenBegin [ self ]
* @event onClose [ self ]
......
......@@ -4,11 +4,6 @@
* @module qui/controls/windows/Prompt
* @author www.pcsg.de (Henning Leutz)
*
* @require qui/controls/windows/Popup
* @require qui/controls/buttons/Button
* @require qui/utils/Controls
* @require css!qui/controls/windows/Prompt.css
*
* @event onSubmit [ value, this ]
* @event onEnter [ value, this ]
* @event onCancel [ this ]
......
......@@ -4,11 +4,6 @@
* @module qui/controls/windows/Submit
* @author www.pcsg.de (Henning Leutz)
*
* @require qui/QUI
* @require qui/controls/windows/Popup
* @require qui/controls/buttons/Button
* @require css!qui/controls/windows/Submit.css
*
* @fires onSubmit
* @fires onCancel
*/
......@@ -106,7 +101,7 @@ define('qui/controls/windows/Submit', [
return;
}
if (attr == 'texticon') {
if (attr === 'texticon') {
Asset.image(value, {
onLoad: function (Node) {
var Texticon = this.$Body.getElement('.texticon'),
......@@ -130,7 +125,7 @@ define('qui/controls/windows/Submit', [
return;
}
if (attr == 'information') {
if (attr === 'information') {
this.$Body
.getElement('.information')
.set('html', value);
......@@ -138,7 +133,7 @@ define('qui/controls/windows/Submit', [
return;
}
if (attr == 'text') {
if (attr === 'text') {
this.$Body
.getElement('.text')
.set('html', value);
......@@ -168,9 +163,9 @@ define('qui/controls/windows/Submit', [
this.$Body = new Element('div.submit-body', {
html : '<div class="textbody">' +
'<h2 class="text">&nbsp;</h2>' +
'<div class="information">&nbsp;</div>' +
'</div>',
'<h2 class="text">&nbsp;</h2>' +
'<div class="information">&nbsp;</div>' +
'</div>',
styles: {
'float': 'left',
width : '100%'
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren