1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #1533: TypeError: Cannot read property 'updateView'

This commit is contained in:
Abel Coronado 2017-11-28 09:45:16 +01:00 committed by Ruben S. Montero
parent 7f26f26b0c
commit c4980894b4

View File

@ -55,7 +55,10 @@ define(function(require) {
type: "list",
call: that.openNebulaResource.list,
callback: function(request, response) {
Sunstone.getDataTable(that.tabId).updateView(request, response);
var datatable = Sunstone.getDataTable(that.tabId);
if (datatable){
datatable.updateView(request, response);
}
},
error: Notifier.onError
}