Browse Source

Linked Delete Changes

master
rpm-mcarman 2 years ago
parent
commit
03263cd635
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      views/dspec.ejs

+ 2
- 2
views/dspec.ejs View File

@@ -1,5 +1,5 @@
<!-- Wappler include head-page="layouts/main" fontawesome_5="cdn" bootstrap5="local" is="dmx-app" id="dspec" appconnect="local" components="{dmxTyped:{},dmxStateManagement:{},dmxBootstrap5Modal:{},dmxFormatter:{},dmxValidator:{},dmxScheduler:{},dmxDataTraversal:{},dmxBootstrap5TableGenerator:{},dmxBootstrap5Navigation:{},dmxSockets:{}}" -->
<dmx-api-action id="api_deleteItem" noload="true" url="http://vapor.prelub.com/api/v1.0/boms/" dmx-bind:url="'http://vapor.prelub.com/api/v1.0/boms/'+frm_updatebom.repeat1[0].id" method="delete" dmx-header:access-control-allow-origin="'*'"></dmx-api-action>
<dmx-api-action id="api_deleteItem" noload="true" url="http://vapor.prelub.com/api/v1.0/boms/" dmx-bind:url="'http://vapor.prelub.com/api/v1.0/boms/'+frm_updatebom.repeat1[0].id" method="delete"></dmx-api-action>
<dmx-api-action id="api_getcodebyid" noload="true" url="http://vapor.prelub.com/api/v1.0/partcodes/" dmx-bind:url="'http://vapor.prelub.com/api/v1.0/partcodes/'+modal1.txt_parentid.value"></dmx-api-action>
<dmx-api-action id="api_allpartcodes" url="http://vapor.prelub.com/api/v1.0/partcodes"></dmx-api-action>
<dmx-api-action id="api_maxpn" url="http://vapor.prelub.com/api/v1.0/pns/max"></dmx-api-action>
@@ -170,7 +170,7 @@
<td style="width: 10%"><input id="txt_newoldbom" name="newbomold" type="text" class="form-control"></td>
<td style="width: 10%"><input id="txt_newnewbom" name="newbomnew" type="text" class="form-control"></td>
<td style="width: 5%">
<button id="btn_savenewbomitem" class="btn btn-primary" type="submit" dmx-on:click="">Add</button>
<button id="btn_savenewbomitem" class="btn btn-primary" type="submit" dmx-on:click="api_deleteItem.load({})">Add</button>

</td>
</tr>


Loading…
Cancel
Save