mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-26 06:50:09 +03:00
feature #2746: After deleting an element move to the list view
This commit is contained in:
parent
cae54b410b
commit
dbe02ce73d
@ -1085,6 +1085,11 @@ function deleteElement(dataTable,tag){
|
||||
var tr = $(tag,dataTable).parents('tr')[0];
|
||||
dataTable.fnDeleteRow(tr);
|
||||
recountCheckboxes(dataTable);
|
||||
|
||||
var tab = dataTable.parents(".tab");
|
||||
if (Sunstone.rightInfoVisible(tab)) {
|
||||
$("a[href='back']", tab).click();
|
||||
}
|
||||
}
|
||||
|
||||
//Handle the activation of action buttons and the check_all box
|
||||
|
Loading…
x
Reference in New Issue
Block a user