|
@@ -54,7 +54,7 @@ Ext.define('erp.view.core.plugin.CopyPasteMenu', {
|
|
|
}
|
|
|
},
|
|
|
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() {
|
|
|
if (!this.execable && typeof ZeroClipboard === 'undefined') {
|