diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-11-04 17:07:07 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-11-04 17:07:07 +0400 |
commit | d9a6e778644597c033ddd3bb02122fc9ee6e07cf (patch) | |
tree | 260599d5f756e6c979f6061cfd1bb0823cb48b4d /setup | |
parent | 66bcad9bbd30b4bddf730fff6df05d3b5c9c1577 (diff) |
Fixed bug #3583240 - /setup: AJAX is not defined
Diffstat (limited to 'setup')
-rw-r--r-- | setup/ajax.js | 11 | ||||
-rw-r--r-- | setup/index.php | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/setup/ajax.js b/setup/ajax.js new file mode 100644 index 0000000000..98d985a4e0 --- /dev/null +++ b/setup/ajax.js @@ -0,0 +1,11 @@ +/* vim: set expandtab sw=4 ts=4 sts=4: */ +/** + * Dummy implementation of the ajax page loader + */ +var AJAX = { + registerOnload: function (idx, func) { + $(document).ready(func); + }, + registerTeardown: function (idx, func) { + } +}; diff --git a/setup/index.php b/setup/index.php index a2b657b7c9..dd87a87cbb 100644 --- a/setup/index.php +++ b/setup/index.php @@ -40,6 +40,7 @@ PMA_noCacheHeader(); <script type="text/javascript" src="../js/jquery/jquery-1.6.2.js"></script> <script type="text/javascript" src="../js/jquery/jquery-ui-1.8.16.custom.js"></script> <script type="text/javascript" src="../js/jquery/jquery.json-2.2.js"></script> +<script type="text/javascript" src="ajax.js"></script> <script type="text/javascript" src="../js/config.js"></script> <script type="text/javascript" src="scripts.js"></script> </head> |