From: Jordan Augé Date: Mon, 7 Jul 2014 09:00:00 +0000 (+0200) Subject: fixed typos X-Git-Tag: myslice-1.1~58 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3067eb36b836e5695ffd829960134bdadba61530;p=unfold.git fixed typos --- 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)