Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2012-06-19 20:10:00 +0400
committerRouslan Placella <rouslan@placella.com>2012-10-31 00:07:01 +0400
commit5838a4433921f285c70706146343bb21f0430b4a (patch)
tree501f2bf50007cc9af4205b4d008ef07db4513a50 /js/gis_data_editor.js
parent198c3a25c86d90cbe7d56b9d4744543b35761bfa (diff)
Use AJAX.registerOnload() instead of $(document).ready()
Diffstat (limited to 'js/gis_data_editor.js')
-rw-r--r--js/gis_data_editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/gis_data_editor.js b/js/gis_data_editor.js
index 1d66a4a069..de3e4a2b3c 100644
--- a/js/gis_data_editor.js
+++ b/js/gis_data_editor.js
@@ -201,7 +201,7 @@ function insertDataAndClose() {
closeGISEditor();
}
-$(function() {
+AJAX.registerOnload('gis_data_editor.js', function() {
// Remove the class that is added due to the URL being too long.
$('span.open_gis_editor a').removeClass('formLinkSubmit');