Test Pinned via API ||
This commit is contained in:
@ -47,9 +47,11 @@
|
||||
<script>
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
|
||||
var apiUrl = "@ViewBag.ApiUrl";
|
||||
|
||||
$("#ToolType").igCombo({
|
||||
dataSource: '@Url.Content("~/api/tooltypes")',
|
||||
dataSource: apiUrl + '/tooltypes',
|
||||
responseDataKey: "Results",
|
||||
textKey: "ToolTypeName",
|
||||
valueKey: "ID",
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
initAwaitingDisposition("@Url.Content("~/api")");
|
||||
initAwaitingDisposition("@ViewBag.ApiUrl");
|
||||
|
||||
});
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
initRunHeaders("@Url.Content("~/api")");
|
||||
initRunHeaders("@ViewBag.ApiUrl");
|
||||
|
||||
});
|
||||
|
||||
|
@ -52,6 +52,9 @@
|
||||
<div class="col-xs-1">
|
||||
<input type="button" class="btn" id="PinButton" value="Pin" disabled />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<table style="min-width:600px; min-height:300px;" id="PinnedGrid"></table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="DetailsDiv" hidden>
|
||||
@ -74,17 +77,11 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div id="PinnedDiv">
|
||||
<div style="padding-bottom: 20px;" id="PinnedGridDiv">
|
||||
<table id="PinnedGrid"></table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
initRunInfo("@Url.Content("~/api")", "@Model.ToolTypeID", "@Model.HeaderID", "@Model.HeaderAttachmentID");
|
||||
initRunInfo("@ViewBag.ApiUrl", "@Model.ToolTypeID", "@Model.HeaderID", "@Model.HeaderAttachmentID");
|
||||
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user