mirror of
https://github.com/AdilElFarissi/btcpay-opensimulator-plugin.git
synced 2026-08-14 00:58:09 +00:00
Fix defaultPaymentMethod for lsl scripts...
This commit is contained in:
@@ -129,6 +129,9 @@ $("#scriptsNav li").on("click", function(e){
|
||||
}
|
||||
});
|
||||
|
||||
defaultPaymentMethod = defaultPaymentMethod.split("-")[0];
|
||||
$("#tjDefaultPaymentMethod, #vDefaultPaymentMethod, #rbDefaultPaymentMethod").val(defaultPaymentMethod);
|
||||
|
||||
function updateTipjarScript (){
|
||||
var tipjarHtml = '';
|
||||
tipjarHtml += '/* BTCPay Server Crypto Tip-jar Script for OpenSimulator Plugin v0.1.2.2.\n\n';
|
||||
|
||||
@@ -94,6 +94,7 @@
|
||||
var defaultPaymentMethod = "@Model.StoreDefaultPaymetMethod";
|
||||
var defaultCurrency = "@Model.StoreDefaultCurrency";
|
||||
var IP = "@Model.ServerIP";
|
||||
|
||||
</script>
|
||||
|
||||
</form>
|
||||
@@ -142,7 +143,7 @@
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="tjDefaultPaymentMethod">Payment Method <span class="labelWarning">(Supported Cryptos Only !)</span></label>
|
||||
<input id="tjDefaultPaymentMethod" type="text" value="@Model.StoreDefaultPaymetMethod">
|
||||
<input id="tjDefaultPaymentMethod" type="text">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="notificationEmail">Notifications Email</label>
|
||||
@@ -232,7 +233,7 @@
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="vDefaultPaymentMethod">Payment Method <span class="labelWarning">(Supported Cryptos Only !)</span></label>
|
||||
<input id="vDefaultPaymentMethod" type="text" value="@Model.StoreDefaultPaymetMethod">
|
||||
<input id="vDefaultPaymentMethod" type="text">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="vCheckoutQueryString">Checkout Query String</label>
|
||||
@@ -295,7 +296,7 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="rbDefaultPaymentMethod">Payment Method <span class="labelWarning">(Supported Cryptos Only !)</span></label>
|
||||
<input id="rbDefaultPaymentMethod" type="text" value="@Model.StoreDefaultPaymetMethod">
|
||||
<input id="rbDefaultPaymentMethod" type="text">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="rbCheckoutQueryString">Checkout Query String</label>
|
||||
|
||||
Reference in New Issue
Block a user