|
404 |
})); |
404 |
})); |
405 |
}, |
405 |
}, |
406 |
|
406 |
|
407 |
load: function(id) { |
407 |
load: function(id, doNotSetTitle) { |
408 |
this._standbyWidget.opacity = 1; |
408 |
this._standbyWidget.opacity = 1; |
409 |
this.standby(true); |
409 |
this.standby(true); |
410 |
this._standbyWidget.opacity = 0.75; |
410 |
this._standbyWidget.opacity = 0.75; |
411 |
|
411 |
|
412 |
tools.umcpCommand('uvmm/domain/get', { |
412 |
return tools.umcpCommand('uvmm/domain/get', { |
413 |
domainURI: id |
413 |
domainURI: id |
414 |
}).then(lang.hitch(this, function(data) { |
414 |
}).then(lang.hitch(this, function(data) { |
415 |
// get data blob |
415 |
// get data blob |
|
420 |
if (data) { |
420 |
if (data) { |
421 |
this._domain.domainURI = id; |
421 |
this._domain.domainURI = id; |
422 |
|
422 |
|
423 |
this.moduleWidget.set('titleDetail', this._domain.name); |
423 |
|
|
|
424 |
if (!doNotSetTitle) { |
425 |
this.moduleWidget.set('titleDetail', this._domain.name); |
426 |
} |
424 |
|
427 |
|
425 |
// clear form data |
428 |
// clear form data |
426 |
this._generalForm.clearFormValues(); |
429 |
this._generalForm.clearFormValues(); |