X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fmyplugin%2Fstatic%2Fjs%2Fmyplugin.js;h=a885ddf2b04de616623f105f277f9b4bff197e5d;hb=91dec1137db6f3b461ab40542f06b5fa93a2efa5;hp=180111508ce712447554c3171ffcb64678230460;hpb=8c344999d6ee3b3a9172a1068a77c83af77a7aee;p=myslice.git diff --git a/plugins/myplugin/static/js/myplugin.js b/plugins/myplugin/static/js/myplugin.js index 18011150..a885ddf2 100644 --- a/plugins/myplugin/static/js/myplugin.js +++ b/plugins/myplugin/static/js/myplugin.js @@ -23,6 +23,8 @@ * applied, which allows to maintain chainability of calls */ init: function(options, element) { + // for debugging tools + this.classname="myplugin"; // Call the parent constructor, see FAQ when forgotten this._super(options, element); @@ -44,7 +46,7 @@ }, /* PLUGIN EVENTS */ - // on_show like in hazelnut + // on_show like in querytable /* GUI EVENTS */ @@ -61,7 +63,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 +88,7 @@ // ... be sure to list all events here /* RECORD HANDLERS */ - - on_record_received: function(record) + on_all_new_record: function(record) { // },