mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-26 06:50:09 +03:00
Feature #3748: Use xmlRoot in tab-datatable updateElement
This commit is contained in:
parent
e843fc1a91
commit
494d6c39e4
@ -429,7 +429,7 @@ define(function(require) {
|
||||
|
||||
//replaces an element with id 'tag' in a dataTable with a new one
|
||||
function _updateElement(request, element_json) {
|
||||
var id = element_json[OpenNebula[this.resource].resource].ID;
|
||||
var id = element_json[this.xmlRoot].ID;
|
||||
var element = this.elementArray(element_json);
|
||||
var tag = '#' + this.resource.toLowerCase() + '_' + id;
|
||||
// fnGetData should be used instead, otherwise it depends on the visible columns
|
||||
|
Loading…
x
Reference in New Issue
Block a user