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();
})
clear: function()
{
-
},
find_row: function(value)
var username = this.options.username;
- this.spin();
console.log("do_update in progress");
manifold.raise_event(this.options.query_uuid, RUN_UPDATE);
},
- 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';
on_query_in_progress: function()
{
- this.spin();
},
on_query_done: function()
{
this.populate_table();
- this.unspin();
},
// D : Data present
on_clear_records: function()
{
+ $('#applyloading').hide();
this.clear();
},
on_query_done: function()
{
- this.unspin();
+ $('#applyloading').hide();
},
// PC : Pending changes