Skip to content

Commit

Permalink
updated references to logger
Browse files Browse the repository at this point in the history
  • Loading branch information
tieniber committed Feb 17, 2022
1 parent ed59e72 commit 6647149
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 54 deletions.
Binary file modified dist/GridSearch.mpk
Binary file not shown.
10 changes: 2 additions & 8 deletions src/GridSearch/widget/ActiveFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ define([
blankOptionLabel: "",

postCreate: function () {
logger.debug(this.id + ".postCreate");
mx.logger.debug(this.id + ".postCreate");
this.superPostCreate();

//retrieve state (if available)
Expand All @@ -35,20 +35,14 @@ define([
},

update: function (obj, callback) {
logger.debug(this.id + ".update");
mx.debug(this.id + ".update");

//this._setupGrid();

this._contextObj = obj;
if (callback) { callback() };
},

resize: function (box) {
logger.debug(this.id + ".resize");
},
uninitialize: function () {
logger.debug(this.id + ".uninitialize");
},
storeState: function (t) {
//t("selection", this.selectNode.value);
},
Expand Down
11 changes: 1 addition & 10 deletions src/GridSearch/widget/AssociationCheckbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ define([

postCreate: function () {
this.superPostCreate();
logger.debug(this.id + ".postCreate");



//retrieve state (if available)
//not supported in v1
Expand All @@ -41,7 +38,7 @@ define([
},

update: function (obj, callback) {
logger.debug(this.id + ".update");
mx.logger.debug(this.id + ".update");
this._setupGrid(this._finishGridSetup.bind(this));

this._contextObj = obj;
Expand All @@ -54,12 +51,6 @@ define([
};
},

resize: function (box) {
logger.debug(this.id + ".resize");
},
uninitialize: function () {
logger.debug(this.id + ".uninitialize");
},
storeState: function (t) {
//TODO: implement for v1
//t("selection", this.selectNode.value);
Expand Down
10 changes: 1 addition & 9 deletions src/GridSearch/widget/GridFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ define([


postCreate: function () {
logger.debug(this.id + ".postCreate");
this.superPostCreate();

this.blankOption.text = this.blankOptionLabel;
Expand Down Expand Up @@ -54,20 +53,13 @@ define([
},

update: function (obj, callback) {
logger.debug(this.id + ".update");
mx.logger.debug(this.id + ".update");

this._setupGrid(this._finishGridSetup.bind(this));

this._contextObj = obj;
if (callback) { callback() };
},

resize: function (box) {
logger.debug(this.id + ".resize");
},
uninitialize: function () {
logger.debug(this.id + ".uninitialize");
},
storeState: function (t) {
t("selection", this.selectNode.value);
},
Expand Down
14 changes: 3 additions & 11 deletions src/GridSearch/widget/GridSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ define([

postCreate: function () {
this.superPostCreate();
logger.debug(this.id + ".postCreate");
mx.logger.debug(this.id + ".postCreate");

if (this.renderAsTextarea) {
this._searchNode = this.searchNodeMulti;
Expand All @@ -54,24 +54,16 @@ define([
},

update: function (obj, callback) {
logger.debug(this.id + ".update");
mx.logger.debug(this.id + ".update");
this._setupGrid(this._finishGridSetup.bind(this));
this._contextObj = obj;
this._updateRendering(callback);
},

resize: function (box) {
logger.debug(this.id + ".resize");
},

uninitialize: function () {
logger.debug(this.id + ".uninitialize");
},
storeState: function (t) {
t("searchValue", this._searchNode.value);
},
_updateRendering: function (callback) {
logger.debug(this.id + "._updateRendering");
mx.logger.debug(this.id + "._updateRendering");

if (callback) { callback() };
},
Expand Down
8 changes: 1 addition & 7 deletions src/GridSearch/widget/GridSearchMX.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ define([
},

postCreate: function () {
logger.debug(this.id + ".postCreate");
mx.logger.debug(this.id + ".postCreate");
this.superPostCreate();

this.pathToAttribute = this.pathToAttribute || this.stringPathToAttribute;
Expand Down Expand Up @@ -178,12 +178,6 @@ define([

if (callback) { callback() };
},
resize: function (box) {
logger.debug(this.id + ".resize");
},
uninitialize: function () {
logger.debug(this.id + ".uninitialize");
},
storeState: function (t) {
var currentVal = this.searchWidget.get("value");
if (currentVal && this._attributeType === "date") {
Expand Down
10 changes: 2 additions & 8 deletions src/GridSearch/widget/LocalCheckbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ define([
},

postCreate: function () {
logger.debug(this.id + ".postCreate");
mx.debug(this.id + ".postCreate");
this.superPostCreate();

//get static options
Expand All @@ -51,20 +51,14 @@ define([
},

update: function (obj, callback) {
logger.debug(this.id + ".update");
mx.logger.debug(this.id + ".update");

this._setupGrid(this._finishGridSetup.bind(this));

this._contextObj = obj;
if (callback) { callback() };
},

resize: function (box) {
logger.debug(this.id + ".resize");
},
uninitialize: function () {
logger.debug(this.id + ".uninitialize");
},
storeState: function (t) {
//TODO: implement for v1
//t("selection", this.selectNode.value);
Expand Down
2 changes: 1 addition & 1 deletion src/GridSearch/widget/ResetButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define([
buttonCaption: null,
templateString: widgetTemplate,
update: function (obj, callback) {
logger.debug(this.id + ".update");
mx.logger.debug(this.id + ".update");
this.resetButton.innerText = this.buttonCaption || "";

this._setupGrid();
Expand Down

0 comments on commit 6647149

Please sign in to comment.