diff --git a/Apps/Web/AI_Recorder/.history/panel/assets/js/custom_20230207120303.js b/Apps/Web/AI_Recorder/.history/panel/assets/js/custom_20230207120303.js deleted file mode 100644 index 0a850492d..000000000 --- a/Apps/Web/AI_Recorder/.history/panel/assets/js/custom_20230207120303.js +++ /dev/null @@ -1,2434 +0,0 @@ -var CustomFunction = { - caseDataArr : {}, - StepCopyData : null, - copyType : null, - is_auth_user : false, - isPreFocus : false, - isPreFocusElement : false, - /* Hidden field*/ - LoadTheRecordDataHtml(recordData){ - CustomFunction.FetchChromeCaseData(); - - setTimeout(function(){ - /* Fetch selected suite */ - var selected_suite = -1; - $('.single-suite-tab').each(function(){ - if($(this).hasClass('current_selected_tab')){ - selected_suite = $(this).data('suite'); - } - }); - - var selectedCase = -1; - $('.case-main-wrap').each(function(){ - if($(this).hasClass('selected-case')){ - selectedCase = $(this).data('mainindex'); - } - }); - - var caseDataValues = CustomFunction.caseDataArr[selected_suite].suite_value; - if(selected_suite != -1 && selectedCase != -1 && caseDataValues.length > 0 && CustomFunction.caseDataArr[selected_suite].suite_value[selectedCase] != undefined){ - var actionData = CustomFunction.caseDataArr[selected_suite].suite_value[selectedCase]; - if(actionData.case_value != undefined && actionData.case_value.length > 0 && (actionData.is_disable == undefined || actionData.is_disable == 0)){ - - - //var caseHtml = ``; - var caseHtml = ``; - var caseValLength = 0; - var disableCount = 0; - $.each(actionData.case_value,function(indx,val){ - if(val.is_disable == undefined || val.is_disable == 0){ - caseValLength++; - caseHtml +=` - -
`+val.action+`
-
`+val.action+`
- - -
`+val.element+`
-
`+val.element+`
- - - - - -
`+val.value+`
-
`+val.value+`
- - `; - }else{ - disableCount = disableCount + 1; - } - }) - caseHtml += ``; - caseHtml += ``; - $('#records-grid').html(caseHtml); - }else{ - caseHtml = ``; - $('#records-grid').html(caseHtml); - } - }else{ - caseHtml = ``; - $('#records-grid').html(caseHtml); - } - },500); - }, - - LoadCaseSuiteHtml(SuiteMainArr){ - var suiteHtml = ``; - if(SuiteMainArr != undefined && SuiteMainArr.length > 0){ - $.each(SuiteMainArr,function(indx,val){ - if(indx < 5){ - var suite_name = val.suite_name; - var extraCls = ''; - var ChildExtraCls = ''; - if(indx == 0){ - extraCls = 'head_text pl-3'; - ChildExtraCls = 'current_selected_tab'; - } - suiteHtml +=`
  • - `+suite_name+` -
  • `; - } - }); - - if(SuiteMainArr.length > 5){ - suiteHtml += `