|
|
@ -28,10 +28,8 @@ function operationSelect(selection) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function submitForm(formId) {
|
|
|
|
function submitForm(formId) {
|
|
|
|
$("#operation-form").addClass("hidden");
|
|
|
|
$("#btnSend").addClass("hidden");
|
|
|
|
$('[data-toggle="loading"]').removeClass("hidden");
|
|
|
|
$("#lbl-execution").removeClass("hidden");
|
|
|
|
$('[data-toggle="loading"]').loading('show');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var form = $("#" + formId);
|
|
|
|
var form = $("#" + formId);
|
|
|
|
var uri = form.attr("action");
|
|
|
|
var uri = form.attr("action");
|
|
|
|
var deviceId = form.data("device-id");
|
|
|
|
var deviceId = form.data("device-id");
|
|
|
@ -75,8 +73,8 @@ function submitForm(formId) {
|
|
|
|
description.html("");
|
|
|
|
description.html("");
|
|
|
|
|
|
|
|
|
|
|
|
var resetLoader = function () {
|
|
|
|
var resetLoader = function () {
|
|
|
|
$("#operation-form").removeClass("hidden");
|
|
|
|
$("#btnSend").removeClass("hidden");
|
|
|
|
$('[data-toggle="loading"]').addClass("hidden");
|
|
|
|
$('#lbl-execution').addClass("hidden");
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var successCallBack = function (response) {
|
|
|
|
var successCallBack = function (response) {
|
|
|
|