0017583: Clicking on the folder icon with a plus sign for Enterprise Features causes an error SOLVED
al darle click a la imagen con el simbolo + daba un mensaje de error se soluciono quitandole la funcion de click en celda en la parte de features
This commit is contained in:
@@ -1492,38 +1492,6 @@ Ext.onReady(function() {
|
||||
listeners: {
|
||||
render: function(){
|
||||
this.loadMask = new Ext.LoadMask(this.body, {msg:_('ID_LOADING_GRID')});
|
||||
},
|
||||
"cellclick": function (grid, rowIndex, columnIndex, e) {
|
||||
var record = grid.getStore().getAt(rowIndex);
|
||||
var fieldName = grid.getColumnModel().getDataIndex(columnIndex);
|
||||
|
||||
if (fieldName != "status") {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (record.get("status")) {
|
||||
case "upgrade":
|
||||
case "ready":
|
||||
if (INTERNET_CONNECTION == 1) {
|
||||
installAddon(record.get("id"), record.get("store"));
|
||||
} else {
|
||||
Ext.MessageBox.alert(_('ID_INFORMATION'), _('ID_NO_INTERNET_CONECTION'));
|
||||
}
|
||||
break;
|
||||
case "download":
|
||||
Ext.Ajax.request({
|
||||
url: "addonsStoreAction",
|
||||
params: {
|
||||
"action": "cancel",
|
||||
"addon": record.get("id"),
|
||||
"store": record.get("store")
|
||||
}
|
||||
});
|
||||
break;
|
||||
case "available":
|
||||
addonAvailable(record.get("id"));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user