git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed design issues with scheduler2 and apply
[unfold.git]
/
plugins
/
apply
/
static
/
js
/
apply.js
diff --git
a/plugins/apply/static/js/apply.js
b/plugins/apply/static/js/apply.js
index
1973028
..
b94fcd6
100644
(file)
--- a/
plugins/apply/static/js/apply.js
+++ b/
plugins/apply/static/js/apply.js
@@
-46,10
+46,10
@@
bAutoWidth: true,
});
bAutoWidth: true,
});
-
//this.elmt('update').click(this, this.do_ok
);
- //this.elmt('
refresh
').click(this, this.do_cancel);
+
this.elmt('close').click(this, this.do_close
);
+ //this.elmt('
apply_cancel
').click(this, this.do_cancel);
- this.elmt('apply').on('shown.bs.modal', function() {
+ this.elmt('apply
__window
').on('shown.bs.modal', function() {
self.do_update();
})
self.do_update();
})
@@
-80,7
+80,6
@@
clear: function()
{
clear: function()
{
-
},
find_row: function(value)
},
find_row: function(value)
@@
-131,11
+130,13
@@
},
},
- do_
ok
: function(e)
+ do_
close
: function(e)
{
{
- throw 'queryupdater.do_reset Not implemented';
+ var self = e.data;
+ self.table.fnClearTable();
},
},
+ // Not used today
do_cancel: function(e)
{
throw 'queryupdater.do_clear_annotations Not implemented';
do_cancel: function(e)
{
throw 'queryupdater.do_clear_annotations Not implemented';