fix myplugin JS example on_new_record function
[myslice.git] / plugins / myplugin / static / js / myplugin.js
index 1801115..20f8573 100644 (file)
@@ -61,7 +61,7 @@
 
         show_hide_button: function() 
         {
-            // this.id, this.el, this.cl, this.els
+            // this.id, this.el, this.cl, this.elts
             // same output as a jquery selector with some guarantees
         },
 
@@ -86,8 +86,7 @@
         // ... be sure to list all events here
 
         /* RECORD HANDLERS */
-        
-        on_record_received: function(record)
+        on_all_new_record: function(record)
         {
             //
         },