X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=plugins%2Fgooglemap%2Fstatic%2Fjs%2Fgooglemap.js;h=764f1b4959de59704fdf7a5e0a73628ff982b3df;hp=2feb424ce4b1378420c97a050ad748cabdbbdbfb;hb=354c5d2314bfd73dfc3520d2ef9845dd4c6e6200;hpb=9323c1c60dcba3b9447f664019993076ae8e0c35 diff --git a/plugins/googlemap/static/js/googlemap.js b/plugins/googlemap/static/js/googlemap.js index 2feb424c..764f1b49 100644 --- a/plugins/googlemap/static/js/googlemap.js +++ b/plugins/googlemap/static/js/googlemap.js @@ -157,10 +157,9 @@ }, set_checkbox_from_data: function(id, checked) { - var id=record [this.canonical_key]; var checkbox = this.by_id [ id ]; if (checkbox) checkbox.prop('checked',checked); - else this.warning(record, "googlemap.set_checkbox_from_data - not found "+init_id); + else messages.warning("googlemap.set_checkbox_from_data - id not found "+id); }, // this record is *in* the slice