From 6945f4e865d3f6ba831515fe51e4e6167cd2077b Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期四, 04 五月 2023 10:19:07 +0800
Subject: [PATCH] Merge branch 'LEX_dev' of http://47.92.229.245:8089/r/lightningupdate into LEX_dev

---
 force-app/main/default/pages/SearchProduct.page |   16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/force-app/main/default/pages/SearchProduct.page b/force-app/main/default/pages/SearchProduct.page
index 9156c41..4bf9b30 100644
--- a/force-app/main/default/pages/SearchProduct.page
+++ b/force-app/main/default/pages/SearchProduct.page
@@ -1,4 +1,4 @@
-<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)}"/>
@@ -6,19 +6,7 @@
     <apex:includeScript value="/soap/ajax/32.0/apex.js"/>
 
     <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;

--
Gitblit v1.9.1