Customize bootstrap with SASS
Update jquery validate for IE Simplify scripting Update home page logo
This commit is contained in:
Vendored
+14
-13
@@ -1,19 +1,20 @@
|
||||
var getUrlParameter = function getUrlParameter(sParam) {
|
||||
var sPageURL = decodeURIComponent(window.location.search.substring(1)),
|
||||
sURLVariables = sPageURL.split('&'),
|
||||
sParameterName,
|
||||
i;
|
||||
$(function () {
|
||||
|
||||
for (i = 0; i < sURLVariables.length; i++) {
|
||||
sParameterName = sURLVariables[i].split('=');
|
||||
var getUrlParameter = function (sParam) {
|
||||
var sPageUrl = decodeURIComponent(window.location.search.substring(1)),
|
||||
sUrlVariables = sPageUrl.split('&'),
|
||||
sParameterName,
|
||||
i;
|
||||
|
||||
if (sParameterName[0] === sParam) {
|
||||
return sParameterName[1] === undefined ? true : sParameterName[1];
|
||||
for (i = 0; i < sUrlVariables.length; i++) {
|
||||
sParameterName = sUrlVariables[i].split('=');
|
||||
|
||||
if (sParameterName[0] === sParam) {
|
||||
return sParameterName[1] === undefined ? true : sParameterName[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
$(function () {
|
||||
var baseUrl = "/umbraco/surface/Chart/ChartCurve";
|
||||
$('#CurveId')
|
||||
.change(function () {
|
||||
@@ -25,7 +26,7 @@ $(function () {
|
||||
if (curveId === "@Html.Raw(selectText)") {
|
||||
return;
|
||||
}
|
||||
var $spinner = $(this).after('<i class="fa fa-spinner fa-spin"></i>').next('i');
|
||||
var $spinner = $chart.after('<span class="glyphicon glyphicon-refresh gly-spin" style="font-size: 3em"></span>').next('span');
|
||||
|
||||
var leafInputId = getUrlParameter("leafInputId");
|
||||
var url = baseUrl + "?leafInputId=" + leafInputId + "&curveId=" + curveId;
|
||||
|
||||
Reference in New Issue
Block a user