mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-08 22:45:51 +01:00
Modify id of "Test Hook" button
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
<input type="text" value="@webHook.url" class="form-control" style="display: inline; width: 500px; vertical-align: middle;" disabled />
|
<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" />
|
<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>
|
||||||
<fieldset class="form-group">
|
<fieldset class="form-group">
|
||||||
<label class="strong">Content type</label>
|
<label class="strong">Content type</label>
|
||||||
@@ -131,7 +131,7 @@ $(function(){
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$(this).tab('show');
|
$(this).tab('show');
|
||||||
});
|
});
|
||||||
$('#test').click(function(e){
|
$('#test-hook').click(function(e){
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.stopImmediatePropagation();
|
e.stopImmediatePropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|||||||
Reference in New Issue
Block a user