From 3067eb36b836e5695ffd829960134bdadba61530 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jordan=20Aug=C3=A9?= Date: Mon, 7 Jul 2014 11:00:00 +0200 Subject: [PATCH] fixed typos --- plugins/googlemap/static/js/googlemap.js | 6 +++--- plugins/querytable/static/js/querytable.js | 1 - plugins/queryupdater/static/js/queryupdater.js | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/plugins/googlemap/static/js/googlemap.js b/plugins/googlemap/static/js/googlemap.js index 0ecf1134..1eec1d92 100644 --- a/plugins/googlemap/static/js/googlemap.js +++ b/plugins/googlemap/static/js/googlemap.js @@ -125,7 +125,7 @@ GOOGLEMAP_BGCOLOR_REMOVED = 2; title: object, /* gmap can deal with a DOM element but not a jquery object */ content: dom.get(0), - keys = Array(), + keys: Array(), }); //extend the bounds to include each marker's position this.bounds.extend(marker.position); @@ -268,9 +268,9 @@ GOOGLEMAP_BGCOLOR_REMOVED = 2; visible = false; $.each(marker.keys, function(j, key) { visible |= manifold.query_store.get_record_state(self.options.query_uuid, key, STATE_VISIBLE); - } + }); marker.setVisible(visible); - } + }); }, redraw_map: function() diff --git a/plugins/querytable/static/js/querytable.js b/plugins/querytable/static/js/querytable.js index 479819f6..623a1e1d 100644 --- a/plugins/querytable/static/js/querytable.js +++ b/plugins/querytable/static/js/querytable.js @@ -403,7 +403,6 @@ QUERYTABLE_BGCOLOR_REMOVED = 2; }, /*************************** QUERY HANDLER ****************************/ - HANDLERS on_filter_added: function(filter) { diff --git a/plugins/queryupdater/static/js/queryupdater.js b/plugins/queryupdater/static/js/queryupdater.js index 8e5793a1..0cab4e06 100644 --- a/plugins/queryupdater/static/js/queryupdater.js +++ b/plugins/queryupdater/static/js/queryupdater.js @@ -309,7 +309,7 @@ { // Loop over records and display pending ones manifold.query_store.iter_records(this.options.query_uuid, function (record_key, record) { - } + }); }, set_button_state: function(name, state) -- 2.47.0