KKbes
2023-08-11 f66abb6dad1b8caa18aca9d65dceb34a34c022b6
force-app/main/default/pages/SearchProduct.page
@@ -1,24 +1,26 @@
<apex:page id="Page" standardController="Product2" action="{!searchNameisNUll}" extensions="SearchProductController" sidebar="false" showHeader="false" lightningStylesheets="true" >
<apex:page id="Page" standardController="Product2"  extensions="SearchProductController" sidebar="false" showHeader="false" lightningStylesheets="true" >
    <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
    <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
    <apex:includeScript value="/soap/ajax/32.0/connection.js"/>
    <apex:includeScript value="/soap/ajax/32.0/apex.js"/>
    <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
    <style>
    th {
    font-weight: inherit;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
    white-space-collapse: collapse;
    text-wrap: nowrap;
}
    body .pbTitle .mainTitle{
    font-weight: 700;
    font-size: 15px;
    }
</style>
    <script>
    window.onload = showToast();
    function showToast() {
            console.log('11111');
            console.log(sforce);
            console.log(sforce.one);
            sforce.one.showToast({
                "title": "Attenzione",
                "message": "Test Message.",
                "type": "warning"
            });
        }
        var QuoteEntryMaxLine = {!maxLen} ;
        var QuoteEntryMaxLine =window.opener.QuoteEntryMaxLine  ;
        function setProductList() { 
            var nextLine = top.window.opener.getLastLineNoNext(window.opener.document);
            var hasCheckedCnt = 0;