Browse Source

Merge remote-tracking branch 'origin/mes_msm_prod' into mes_msm_prod

callm 3 years ago
parent
commit
d16f6e0e0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      WebContent/app/view/core/plugin/CopyPasteMenu.js

+ 1 - 1
WebContent/app/view/core/plugin/CopyPasteMenu.js

@@ -54,7 +54,7 @@ Ext.define('erp.view.core.plugin.CopyPasteMenu', {
 		}
 		}
 	},
 	},
 	isExecable: function() {
 	isExecable: function() {
-		return Ext.isChrome && Number(Ext.userAgent.match(/chrome\/[\d.]+/gi)[0].replace(/[^0-9.]/ig,"").substring(0, 2)) > 42;
+		return Ext.isChrome && Number(Ext.userAgent.match(/chrome\/[\d.]+/gi)[0].replace(/[^0-9.]/ig,"").split(".")[0]) > 42;
 	},
 	},
 	loadSource: function() {
 	loadSource: function() {
 		if (!this.execable && typeof ZeroClipboard === 'undefined') {
 		if (!this.execable && typeof ZeroClipboard === 'undefined') {