BUG 9869 Users are not able to double click on the input... SOLVED

- The functionality not enabled.
- was add "rowdblclick" for inputDocument and outPutDocument.
This commit is contained in:
Marco Antonio Nina
2012-10-17 12:45:09 -04:00
parent 17f490a737
commit cc496dc8e8
2 changed files with 35 additions and 8 deletions

View File

@@ -487,6 +487,23 @@
}*/
},
rowdblclick: function(grid, rowIndex, e) {
var rowSelected = store.getAt(rowIndex);
generateDocumentGridDownloadGlobal.APP_DOC_UID = rowSelected.data.APP_DOC_UID;
generateDocumentGridDownloadGlobal.FILEDOC = rowSelected.data.FILEDOC;
generateDocumentGridDownloadGlobal.FILEPDF = rowSelected.data.FILEPDF;
if (rowSelected.data.FILEPDFLABEL != '') {
generateDocumentGridDownloadGlobal.DOWNLOAD = 'FILEPDF';
} else {
generateDocumentGridDownloadGlobal.DOWNLOAD = 'FILEDOC';
}
var APP_DOC_UID = generateDocumentGridDownloadGlobal.APP_DOC_UID;
var FILEDOC = generateDocumentGridDownloadGlobal.FILEDOC;
var FILEPDF = generateDocumentGridDownloadGlobal.FILEPDF;
var DOWNLOAD = generateDocumentGridDownloadGlobal.DOWNLOAD;
generateDocumentGridDownload();
},
render: function(){
this.loadMask = new Ext.LoadMask(this.body, {msg:'Loading...'});

View File

@@ -461,14 +461,24 @@
items:[]
}),
listeners: {
rowdblclick: emptyReturn,
render: function(){
this.loadMask = new Ext.LoadMask(this.body, {msg:'Loading...'});
processesGrid.getSelectionModel().on('rowselect', function(){
var rowSelected = processesGrid.getSelectionModel().getSelected();
});
}
rowdblclick: function(grid, rowIndex, e) {
var rowSelected = store.getAt(rowIndex);
uploadDocumentGridDownloadGlobal.APP_DOC_UID = rowSelected.data.APP_DOC_UID;
uploadDocumentGridDownloadGlobal.DOWNLOAD_LINK = rowSelected.data.DOWNLOAD_LINK;
uploadDocumentGridDownloadGlobal.TITLE = rowSelected.data.TITLE;
var APP_DOC_UID = uploadDocumentGridDownloadGlobal.APP_DOC_UID;
var DOWNLOAD_LINK = uploadDocumentGridDownloadGlobal.DOWNLOAD_LINK;
var TITLE = uploadDocumentGridDownloadGlobal.TITLE;
uploadDocumentGridDownload();
},
render: function(){
this.loadMask = new Ext.LoadMask(this.body, {msg:'Loading...'});
processesGrid.getSelectionModel().on('rowselect', function() {
var rowSelected = processesGrid.getSelectionModel().getSelected();
});
}
}
});
processesGrid.store.load({params: {"function":"languagesList"}});