INNER CODE UNIT · JavaScript

saveFunc

aelassas/wexflow · samples/WexflowTesting/UglifyJs_src/wexflow-designer.js:218

                                            var saveFunc = function () {
                                                save(workflowId,
                                                    selectedId === -1 ? workflowId : selectedId,
                                                    function () {
                                                        saveCalled = true;
                                                        workflowInfos[workflowId].IsNew = false;
                                                        document.getElementById("wf-delete").style.display = "inline-block";
                                                    });
                                            };

                                            // Period validation
                                            if (lt === "periodic" && document.getElementById("wf-period").value !== "") {
                                                var period = document.getElementById("wf-period").value;
                                                get(uri + "/isPeriodValid/" + period,
                                                    function (res) {
                                                        if (res === true) {
                                                            saveFunc();
                                                        } else {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…