hy 7 年 前
コミット
c1fab44a97
1 ファイル変更1 行追加1 行削除
  1. 1 1
      frontend/saas-web/app/view/core/dbfind/DbfindTrigger.js

+ 1 - 1
frontend/saas-web/app/view/core/dbfind/DbfindTrigger.js

@@ -162,7 +162,7 @@ Ext.define('saas.view.core.dbfind.DbfindTrigger', {
     },
     },
 
 
     judge:function(f){
     judge:function(f){
-        if(f.ownerCt.xtype.trim().toUpperCase().indexOf('QUERYFORMPANEL')>-1||f.ownerCt.ownerCt.xtype.trim().toUpperCase().indexOf('BASEPANEL')>-1){
+        if(f.ownerCt.xtype.trim().toUpperCase().indexOf('QUERYFORMPANEL')>-1||(f.ownerCt.ownerCt&&f.ownerCt.ownerCt.xtype.trim().toUpperCase().indexOf('BASEPANEL')>-1)){
             f.belong = 'form';
             f.belong = 'form';
             return f.ownerCt.ownerCt
             return f.ownerCt.ownerCt
         }else if(f.ownerCt.xtype.trim().toUpperCase().indexOf('FORM')>-1){
         }else if(f.ownerCt.xtype.trim().toUpperCase().indexOf('FORM')>-1){