Revision b9cde184
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
templates/webpages/admin/edit_client.html | ||
---|---|---|
128 | 128 |
open_jqm_window({ |
129 | 129 |
url: 'controller.pl?action=Admin/test_database_connectivity', |
130 | 130 |
data: $("INPUT[data-dbsettings=1]").serialize(), |
131 |
type: 'POST' |
|
131 |
type: 'POST', |
|
132 |
id: 'test_db_connection_window' |
|
132 | 133 |
}); |
133 | 134 |
return true; |
134 | 135 |
} |
templates/webpages/admin/test_db_connection.html | ||
---|---|---|
1 | 1 |
[%- USE HTML %][%- USE LxERP -%][%- USE L -%] |
2 |
<h1>[% HTML.escape(title) %]</h1>
|
|
2 |
<div class="listtop">[% HTML.escape(title) %]</div>
|
|
3 | 3 |
|
4 | 4 |
[%- IF ok %] |
5 | 5 |
|
... | ... | |
17 | 17 |
[%- END %] |
18 | 18 |
|
19 | 19 |
<div> |
20 |
[% L.button_tag("\$('#jqm_popup_dialog .close').trigger('click');", LxERP.t8("Close Window")) %]
|
|
20 |
<a href="#" onclick="$('#test_db_connection_window').jqmClose();">[% LxERP.t8("Close Window") %]</a>
|
|
21 | 21 |
</div> |
Auch abrufbar als: Unified diff
'Fenster schließen' als Link und nicht als vollen Button darstellen
...wie in anderen Popup-Dialogen auch