|
@@ -139,14 +139,11 @@ define([
|
|
|
|
|
|
dom.byId(this.id + "Wuid").innerHTML = params.Wuid;
|
|
|
this.wu = ESPWorkunit.Get(params.Wuid);
|
|
|
- var data = this.wu.getData();
|
|
|
- for (key in data) {
|
|
|
- this.updateInput(key, null, data[key]);
|
|
|
- }
|
|
|
var context = this;
|
|
|
this.wu.watch(function (name, oldValue, newValue) {
|
|
|
context.updateInput(name, oldValue, newValue);
|
|
|
});
|
|
|
+ this.wu.refresh();
|
|
|
}
|
|
|
this.infoGridWidget.init(params);
|
|
|
this.selectChild(this.summaryWidget, true);
|