Skip to content
GitLab
Erkunden
Anmelden
Registrieren
Primärnavigation
Suchen oder aufrufen …
Projekt
QUI
Verwalten
Aktivität
Mitglieder
Labels
Planen
Tickets
6
Ticketübersichten
Meilensteine
Wiki
Code
Merge Requests
0
Repository
Branch
Commits
Tags
Repository-Diagramm
Revisionen vergleichen
Code-Schnipsel
Build
Pipelines
Aufgaben
Pipeline-Zeitpläne
Artefakte
Bereitstellung
Releases
Betreiben
Umgebungen
Überwachen
Vorfälle
Service-Desk
Analysieren
Wertschöpfungskettenanalyse
Mitwirkenden-Analyse
CI/CD-Analyse
Repository-Analysen
Hilfe
Hilfe
Support
GitLab-Dokumentation
GitLab-Pläne vergleichen
Community-Forum
Zu GitLab beitragen
Feedback geben
Tastenkürzel
?
Code-Schnipsel
Gruppen
Projekte
Show more breadcrumbs
QUIQQER
QUI
Commits
b74a2ffc
Commit
b74a2ffc
erstellt
vor 7 Jahren
von
Henning Leutz
Dateien durchsuchen
Optionen
Downloads
Einfaches Diff
Merge branch 'dev' of dev.quiqqer.com:quiqqer/qui into dev
Übergeordnete
f62a6fcf
79b843f4
No related branches found
Branches enthält Commit
No related tags found
Tags enthält Commit
Keine zugehörigen Merge Requests gefunden
Änderungen
1
Leerzeichenänderungen ausblenden
Inline
Nebeneinander
1 geänderte Datei
qui/controls/windows/Confirm.js
+37
-34
37 Ergänzungen, 34 Löschungen
qui/controls/windows/Confirm.js
wird angezeigt
mit
37 Ergänzungen
und
34 Löschungen
qui/controls/windows/Confirm.js
+
37
−
34
Zeige Datei @
b74a2ffc
...
...
@@ -95,11 +95,11 @@ define('qui/controls/windows/Confirm', [
submitText
=
QUI
.
getAttribute
(
'
control-windows-confirm-submittext
'
);
}
if
(
cancelButton
.
text
===
false
)
{
if
(
cancelButton
&&
cancelButton
.
text
===
false
)
{
cancelButton
.
text
=
cancelText
;
}
if
(
submitButton
.
text
===
false
)
{
if
(
submitButton
&&
submitButton
.
text
===
false
)
{
submitButton
.
text
=
submitText
;
}
...
...
@@ -186,9 +186,9 @@ define('qui/controls/windows/Confirm', [
this
.
$Body
=
new
Element
(
'
div.submit-body
'
,
{
html
:
'
<div class="textbody">
'
+
'
<h2 class="text"> </h2>
'
+
'
<div class="information"> </div>
'
+
'
</div>
'
,
'
<h2 class="text"> </h2>
'
+
'
<div class="information"> </div>
'
+
'
</div>
'
,
styles
:
{
'
float
'
:
'
left
'
,
width
:
'
100%
'
...
...
@@ -213,38 +213,41 @@ define('qui/controls/windows/Confirm', [
this
.
$Body
.
destroy
();
}
this
.
$Buttons
.
set
(
'
html
'
,
''
);
this
.
addButton
(
new
QUIButton
({
name
:
'
cancel
'
,
text
:
this
.
getAttribute
(
'
cancel_button
'
).
text
,
textimage
:
this
.
getAttribute
(
'
cancel_button
'
).
textimage
,
styles
:
{
'
float
'
:
'
none
'
},
events
:
{
onClick
:
this
.
cancel
}
})
);
this
.
addButton
(
new
QUIButton
({
name
:
'
submit
'
,
text
:
this
.
getAttribute
(
'
ok_button
'
).
text
,
textimage
:
this
.
getAttribute
(
'
ok_button
'
).
textimage
,
styles
:
{
'
float
'
:
'
none
'
},
events
:
{
onClick
:
function
()
{
self
.
submit
();
if
(
this
.
getAttribute
(
'
cancel_button
'
))
{
this
.
addButton
(
new
QUIButton
({
name
:
'
cancel
'
,
text
:
this
.
getAttribute
(
'
cancel_button
'
).
text
,
textimage
:
this
.
getAttribute
(
'
cancel_button
'
).
textimage
,
styles
:
{
'
float
'
:
'
none
'
},
events
:
{
onClick
:
this
.
cancel
}
}
})
);
})
);
}
if
(
this
.
getAttribute
(
'
ok_button
'
))
{
this
.
addButton
(
new
QUIButton
({
name
:
'
submit
'
,
text
:
this
.
getAttribute
(
'
ok_button
'
).
text
,
textimage
:
this
.
getAttribute
(
'
ok_button
'
).
textimage
,
styles
:
{
'
float
'
:
'
none
'
},
events
:
{
onClick
:
function
()
{
self
.
submit
();
}
}
})
);
}
this
.
parent
();
},
...
...
This diff is collapsed.
Zum Erweitern klicken.
Vorschau
0%
Wiederholen
oder
Neue Datei anhängen
.
Abbrechen
You are about to add
0
people
to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Kommentar speichern
Abbrechen
Bitte
registrieren
oder
Anmelden
zum Kommentieren