fixed SET_ADD
authorJordan Augé <jordan.auge@lip6.fr>
Thu, 24 Jul 2014 21:11:29 +0000 (23:11 +0200)
committerJordan Augé <jordan.auge@lip6.fr>
Thu, 24 Jul 2014 21:11:29 +0000 (23:11 +0200)
plugins/googlemap/static/js/googlemap.js

index 5a15a3d..c51eb4f 100644 (file)
@@ -173,7 +173,7 @@ GOOGLEMAP_BGCOLOR_REMOVED = 2;
                 data = {
                     state: STATE_SET,
                     key  : null,
-                    op   : this.checked ? SET_ADD : SET_REMOVED,
+                    op   : this.checked ? STATE_SET_ADD : STATE_SET_REMOVED,
                     value: id
                 }
                 manifold.raise_event(self.options.query_uuid, FIELD_STATE_CHANGED, data);