diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-06-19 20:10:00 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-10-31 00:07:01 +0400 |
commit | 5838a4433921f285c70706146343bb21f0430b4a (patch) | |
tree | 501f2bf50007cc9af4205b4d008ef07db4513a50 /js/replication.js | |
parent | 198c3a25c86d90cbe7d56b9d4744543b35761bfa (diff) |
Use AJAX.registerOnload() instead of $(document).ready()
Diffstat (limited to 'js/replication.js')
-rw-r--r-- | js/replication.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/replication.js b/js/replication.js index 18071c0d36..3ad36ab3d9 100644 --- a/js/replication.js +++ b/js/replication.js @@ -25,7 +25,7 @@ function update_config() } } -$(function() { +AJAX.registerOnload('replication.js', function() { $('#rep').text(conf_prefix); $('#db_type').change(update_config); $('#db_select').change(update_config); |