cosmetic for when googlemap goes mad with broken query results
[myslice.git] / plugins / googlemap / static / js / googlemap.js
index 854ee4a..34b2b8d 100644 (file)
@@ -141,9 +141,9 @@ googlemap_debug_detailed=false;
        // retrieve DOM checkbox and make sure it is checked/unchecked
         set_checkbox: function(record, checked) {
            var hrn=this.record_hrn (record);
-           if (! hrn) { messages.warning ("set_checkbox: record has no hrn"); return; }
+           if (! hrn) { messages.warning ("googlemap.set_checkbox: record has no hrn"); return; }
            var checkbox_s = this.by_hrn [ hrn ];
-           if (! checkbox_s ) { messages.warning ("set_checkbox: could not spot checkbox for hrn "+hrn); return; }
+           if (! checkbox_s ) { messages.warning ("googlemap.set_checkbox: could not spot checkbox for hrn "+hrn); return; }
            checkbox_s.checkbox.prop('checked',checked);
         }, // set_checkbox