projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[kivitendo-erp.git]
/
templates
/
webpages
/
admin
/
backup_dataset.html
diff --git
a/templates/webpages/admin/backup_dataset.html
b/templates/webpages/admin/backup_dataset.html
index
1b61f95
..
756247a
100644
(file)
--- a/
templates/webpages/admin/backup_dataset.html
+++ b/
templates/webpages/admin/backup_dataset.html
@@
-1,10
+1,13
@@
[%- USE T8 %]
[%- USE HTML %]
[%- USE T8 %]
[%- USE HTML %]
-<body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); ">
-
<script type="text/javascript">
<!--
<script type="text/javascript">
<!--
- function set_subject() {
+ $(function(){
+ document.getElementsByName('to')[0].focus();
+ set_subject();
+ });
+
+ function set_subject () {
var subject_template = "[% 'Backup of dataset' | $T8 %]";
var subject = document.Form.subject.value;
var subject_template = "[% 'Backup of dataset' | $T8 %]";
var subject = document.Form.subject.value;
@@
-94,4
+97,3
@@
[% END %]
[% END %]
-</body>