Modify id of "Test Hook" button

This commit is contained in:
Naoki Takezoe
2017-12-03 05:20:32 +09:00
parent bcd92916ca
commit d15b3fb2f6

View File

@@ -26,7 +26,7 @@
<input type="text" value="@webHook.url" class="form-control" style="display: inline; width: 500px; vertical-align: middle;" disabled />
<input type="hidden" value="@webHook.url" name="url" />
}
<button class="btn btn-default" id="test">Test Hook</button>
<button class="btn btn-default" id="test-hook">Test Hook</button>
</fieldset>
<fieldset class="form-group">
<label class="strong">Content type</label>
@@ -131,7 +131,7 @@ $(function(){
e.preventDefault();
$(this).tab('show');
});
$('#test').click(function(e){
$('#test-hook').click(function(e){
e.stopPropagation();
e.stopImmediatePropagation();
e.preventDefault();