Skip to content

Commit ae8247b

Browse files
committed
IncidentTable called ctx.resovle which nulled previous content
1 parent cc69f2c commit ae8247b

File tree

10 files changed

+10
-16
lines changed

10 files changed

+10
-16
lines changed

src/Server/Coderr.Server.Web/Scripts/Griffin.WebApp.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Server/Coderr.Server.Web/Scripts/Griffin.WebApp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Server/Coderr.Server.Web/Scripts/Griffin.WebApp.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,7 @@ module Griffin.WebApp {
209209
}
210210

211211
while (this.parent.childElementCount > 0) {
212-
console.log('remv');
213-
this.parent.firstElementChild.remove();
212+
this.parent.removeChild(this.parent.firstElementChild);
214213
}
215214
var self = this;
216215

src/Server/Coderr.Server.Web/ViewModels/Application/DetailsViewModel.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Server/Coderr.Server.Web/ViewModels/Application/DetailsViewModel.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Server/Coderr.Server.Web/ViewModels/Application/DetailsViewModel.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module codeRR.Application {
3535
this.ctx = ctx;
3636
this.applicationId = ctx.routeData["applicationId"];
3737
var self = this;
38-
38+
var isRun2 = false;
3939
var firstIsRun = false;
4040
var chartResult: Core.Applications.Queries.GetApplicationOverviewResult = null;
4141
var chartRendering = (result: Core.Applications.Queries.GetApplicationOverviewResult) => {
@@ -106,7 +106,6 @@ module codeRR.Application {
106106
query.Version = this.filterVersion;
107107
CqsClient.query<Core.Applications.Queries.GetApplicationOverviewResult>(query)
108108
.done(response => {
109-
console.log('overview', response);
110109
this.updateChart(response);
111110
this.ctx.render(response);
112111
});
@@ -157,7 +156,7 @@ module codeRR.Application {
157156

158157
$("#myChart").html("");
159158
this.chartOptions = {
160-
element: "myChart",
159+
element: $("#myChart")[0],
161160
data: data,
162161
xkey: "date",
163162
ykeys: ["Reports", "Incidents"],

src/Server/Coderr.Server.Web/ViewModels/Incident/Components/IncidentTable.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)