Remove the page title from "stub" to something more relevant to that page / widget. Signed-off by: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
@@ -59,6 +59,10 @@ define([
this._refreshActionState();
},
+ getTitle: function () {
+ return "Activity";
+ },
+
createGrid: function (domID) {
var context = this;
var retVal = new declare([OnDemandGrid, Keyboard, Selection, ColumnResizer, DijitRegistry, ESPUtil.GridHelper])({
@@ -95,6 +95,10 @@ define([
this.initFilter();
+ return "Logical Files";
// Hitched actions ---
_onRefresh: function (event) {
this.refreshGrid();
@@ -76,6 +76,10 @@ define([
stateSelect.addOption(stateOptions);
+ return "DFU Workunit";
this.wu.refresh(true);
@@ -163,6 +163,10 @@ define([
this.updateInput("State", null, "...");
+ return "ECL Playground";
watchWU: function () {
if (this.watching) {
this.watching.unwatch();
@@ -87,6 +87,10 @@ define([
+ return "DFU Workunits";
@@ -46,6 +46,10 @@ define([
this.inherited(arguments);
+ return "HPCC Platform - ECL";
// Implementation ---
@@ -48,6 +48,9 @@ define([
+ return "HPCC Platform - Files";
@@ -47,6 +47,10 @@ define([
+ return "HPCC Platform - Home";
@@ -45,6 +45,10 @@ define([
+ return "HPCC Platform - Operations";
+ return "HPCC Platform - Roxie";
@@ -70,6 +70,10 @@ define([
+ return "HPCC Platform";
_onFind: function (evt) {
this.stackContainer.selectChild(this.mainPage);
@@ -103,6 +103,10 @@ define([
});
+ return "Logical File Details";
_handleResponse: function (wuidQualifier, response) {
if (lang.exists(wuidQualifier, response)) {
var wu = ESPDFUWorkunit.Get(lang.getObject(wuidQualifier, false, response));
@@ -120,6 +120,10 @@ define([
+ return "Landing Zones";
@@ -61,6 +61,10 @@ define([
+ return "Results Widget";
@@ -121,6 +121,10 @@ define([
this.variablesGrid.startup();
+ return "ECL Workunit Details";
_onSave: function (event) {
var protectedCheckbox = registry.byId(this.id + "Protected");
@@ -93,6 +93,10 @@ define([
+ return "ECL Workunits";
@@ -105,6 +105,7 @@ define([
widget.init(params);
}
+ document.title = widget.getTitle ? widget.getTitle() : params.Widget;
/*
dojo.publish("hpccMessageTopic", {
type: "warning",