|
|
@@ -272,8 +272,8 @@ Ext.define('saas.view.sys.account.DataList', {
|
|
|
store.setPageSize(pageSize);
|
|
|
},
|
|
|
itemClick: function(view,record,a,index,c) {
|
|
|
- var classList = c.target.classList.value;
|
|
|
- if(classList.indexOf('fa-pencil')>-1){
|
|
|
+ var classList = c.target.classList;
|
|
|
+ if(classList.contains('fa-pencil')){
|
|
|
this.dialog = this.getController().getView().add({
|
|
|
xtype: 'sys-account-editwindow',
|
|
|
bind: {
|