mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
Bug #3241: Fix selector in setupResourceTableSelect
This commit is contained in:
1 parent
ee6a807f17
commit
2d6e6ddfd7
1 file changed
+3
-3
@@ -5973,10 +5973,10 @@ function setupResourceTableSelect(section, context_id, options) {
|
||||
|
||||
var dataTable_select = $('#datatable_'+context_id, section).dataTable(options.dataTable_options);
|
||||
|
||||
$('#refresh_button_'+context_id).die();
|
||||
$('#refresh_button_'+context_id, section).die();
|
||||
|
||||
$('#refresh_button_'+context_id).live('click', function(){
|
||||
options.update_fn($('table[id=datatable_'+context_id+']').dataTable());
|
||||
$('#refresh_button_'+context_id, section).live('click', function(){
|
||||
options.update_fn($('table[id=datatable_'+context_id+']', section).dataTable());
|
||||
});
|
||||
|
||||
$('#'+context_id+'_search', section).keyup(function(){
|
||||
|
||||
Reference in new issue
Block a user