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:
authorGemorroj <wapinet@mail.ru>2012-04-07 15:27:28 +0400
committerGemorroj <wapinet@mail.ru>2012-04-07 15:27:28 +0400
commit8bdca339f68187779c4987a63568bd934cc67848 (patch)
tree44dc6ab015ddc444395250d8246a97d11b9f5e8e /js/tbl_gis_visualization.js
parent54e34e5ef208c91b705666149e76fb6ec46486eb (diff)
Better compatibility with newer versions of jQuery.
Method of "attr" changed to "prop", method of "removeAttr" changed to "removeProp", attr("value" is replaced by the method of "val".
Diffstat (limited to 'js/tbl_gis_visualization.js')
-rw-r--r--js/tbl_gis_visualization.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tbl_gis_visualization.js b/js/tbl_gis_visualization.js
index 3000e883c0..f60099e505 100644
--- a/js/tbl_gis_visualization.js
+++ b/js/tbl_gis_visualization.js
@@ -100,7 +100,7 @@ function loadSVG() {
function addZoomPanControllers() {
var $placeholder = $('#placeholder');
if ($("#placeholder svg").length > 0) {
- var pmaThemeImage = $('#pmaThemeImage').attr('value');
+ var pmaThemeImage = $('#pmaThemeImage').val();
// add panning arrows
$('<img class="button" id="left_arrow" src="' + pmaThemeImage + 'west-mini.png">').appendTo($placeholder);
$('<img class="button" id="right_arrow" src="' + pmaThemeImage + 'east-mini.png">').appendTo($placeholder);