git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding some tracability into the plugins code
[myslice.git]
/
plugins
/
myplugin
/
static
/
js
/
myplugin.js
diff --git
a/plugins/myplugin/static/js/myplugin.js
b/plugins/myplugin/static/js/myplugin.js
index
1801115
..
a885ddf
100644
(file)
--- 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) {
* 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);
// Call the parent constructor, see FAQ when forgotten
this._super(options, element);
@@
-44,7
+46,7
@@
},
/* PLUGIN EVENTS */
},
/* PLUGIN EVENTS */
- // on_show like in
hazelnut
+ // on_show like in
querytable
/* GUI EVENTS */
/* GUI EVENTS */
@@
-61,7
+63,7
@@
show_hide_button: function()
{
show_hide_button: function()
{
- // this.id, this.el, this.cl, this.els
+ // this.id, this.el, this.cl, this.el
t
s
// same output as a jquery selector with some guarantees
},
// same output as a jquery selector with some guarantees
},
@@
-86,8
+88,7
@@
// ... be sure to list all events here
/* RECORD HANDLERS */
// ... be sure to list all events here
/* RECORD HANDLERS */
-
- on_record_received: function(record)
+ on_all_new_record: function(record)
{
//
},
{
//
},