website with merged support
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
<ul class="nav nav-tabs" id="blocksTabs">
|
||||
</ul>
|
||||
|
||||
<div class="tab-content" id="tab-content">
|
||||
|
||||
<div class="tab-content" id="tab-content">
|
||||
</div>
|
||||
|
||||
<script id="siblingTabTemplate" type="text/x-handlebars-template">
|
||||
<li id="blockTabs{{coin}}" role="presentation" class="{{active}}"><a href="#{{coin}}">{{coin}} {{symbol}}</a></li>
|
||||
<li id="blockTabs{{coin}}" role="presentation" class="{{active}}"><a href="#{{coin}}">{{coin}} {{symbol}}</a></li>
|
||||
</script>
|
||||
|
||||
<script id="siblingTemplate" type="text/x-handlebars-template">
|
||||
<div role="tabpanel" class="tab-pane {{active}}" id="{{coin}}">
|
||||
<div role="tabpanel" class="tab-pane {{active}}" id="{{coin}}">
|
||||
<!-- Verification fields -->
|
||||
<h3><span data-tkey="verificationFields">Verification fields</span></h3>
|
||||
|
||||
@@ -52,37 +52,31 @@
|
||||
</script>
|
||||
|
||||
<script>
|
||||
let ranOnce = false
|
||||
// Update current page
|
||||
currentPage = {
|
||||
destroy: function () {
|
||||
Object.keys(mergedApis)
|
||||
.forEach(key => {
|
||||
$(`#payoutSetButton${key}`)
|
||||
.off('click')
|
||||
$(`#enableButton${key}`)
|
||||
.off('click')
|
||||
$(`#disableButton${key}`)
|
||||
.off('click')
|
||||
})
|
||||
$('#blocksTabs a')
|
||||
.off('click')
|
||||
},
|
||||
update: function (updateKey) {
|
||||
|
||||
}
|
||||
};
|
||||
let ranOnce = false
|
||||
// Update current page
|
||||
currentPage = {
|
||||
destroy: function(){
|
||||
Object.keys(mergedApis).forEach(key => {
|
||||
$(`#payoutSetButton${key}`).off('click')
|
||||
$(`#enableButton${key}`).off('click')
|
||||
$(`#disableButton${key}`).off('click')
|
||||
})
|
||||
$('#blocksTabs a').off('click')
|
||||
},
|
||||
update: function(updateKey){
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
function RunOnce () {
|
||||
$('#blocksTabs a')
|
||||
.click(function (e) {
|
||||
e.preventDefault()
|
||||
$(this)
|
||||
.tab('show')
|
||||
})
|
||||
return true
|
||||
}
|
||||
function RunOnce() {
|
||||
$('#blocksTabs a').click(function (e) {
|
||||
e.preventDefault()
|
||||
$(this).tab('show')
|
||||
})
|
||||
return true
|
||||
}
|
||||
|
||||
settings_InitTemplate(ranOnce)
|
||||
settings_InitTemplate(ranOnce)
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user