moved function to shared js.
This commit is contained in:
@@ -414,4 +414,12 @@ function getAndValidateExtraFields() {
|
||||
}
|
||||
});
|
||||
return { hasError: hasError, extraFields: outputData };
|
||||
}
|
||||
function toggleSupplyUsageHistory() {
|
||||
var container = $("#supplyUsageHistoryModalContainer");
|
||||
if (container.hasClass("d-none")) {
|
||||
container.removeClass("d-none");
|
||||
} else {
|
||||
container.addClass("d-none");
|
||||
}
|
||||
}
|
||||
@@ -327,12 +327,4 @@ function moveRecord(recordId, source, dest) {
|
||||
$("#workAroundInput").hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
function toggleSupplyUsageHistory() {
|
||||
var container = $("#supplyUsageHistoryModalContainer");
|
||||
if (container.hasClass("d-none")) {
|
||||
container.removeClass("d-none");
|
||||
} else {
|
||||
container.addClass("d-none");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user