export
This commit is contained in:
@@ -145,7 +145,7 @@ class Project extends Api
|
|||||||
{
|
{
|
||||||
$objects = \G::json_decode($objects);
|
$objects = \G::json_decode($objects);
|
||||||
$granularExporter = new GranularExporter($prj_uid);
|
$granularExporter = new GranularExporter($prj_uid);
|
||||||
$outputFilename = $granularExporter->export($objects->objectList);
|
$outputFilename = $granularExporter->export($objects);
|
||||||
|
|
||||||
$httpStream = new HttpStream();
|
$httpStream = new HttpStream();
|
||||||
$fileExtension = pathinfo($outputFilename, PATHINFO_EXTENSION);
|
$fileExtension = pathinfo($outputFilename, PATHINFO_EXTENSION);
|
||||||
|
|||||||
@@ -1011,7 +1011,7 @@ function exportImportProcessObjects(typeAction)
|
|||||||
stateful : true,
|
stateful : true,
|
||||||
stateId : 'gridProcessObjects',
|
stateId : 'gridProcessObjects',
|
||||||
enableColumnResize: true,
|
enableColumnResize: true,
|
||||||
enableHdMenu: true,
|
enableHdMenu: false,
|
||||||
frame:false,
|
frame:false,
|
||||||
selModel : checkBoxSelMod,
|
selModel : checkBoxSelMod,
|
||||||
showHeaderCheckbox: true,
|
showHeaderCheckbox: true,
|
||||||
@@ -1024,7 +1024,7 @@ function exportImportProcessObjects(typeAction)
|
|||||||
clicksToEdit: 1,
|
clicksToEdit: 1,
|
||||||
cm: new Ext.grid.ColumnModel({
|
cm: new Ext.grid.ColumnModel({
|
||||||
defaults: {
|
defaults: {
|
||||||
sortable: true
|
sortable: false
|
||||||
},
|
},
|
||||||
columns: [
|
columns: [
|
||||||
checkBoxSelMod,
|
checkBoxSelMod,
|
||||||
@@ -1044,7 +1044,7 @@ function exportImportProcessObjects(typeAction)
|
|||||||
renderer: function(value) {
|
renderer: function(value) {
|
||||||
var recordIndex = storeActionField.find('value', value);
|
var recordIndex = storeActionField.find('value', value);
|
||||||
if (recordIndex === -1) {
|
if (recordIndex === -1) {
|
||||||
return 'Unknown value: ' + value;
|
return _('ID_UNKNOWN') + value;
|
||||||
}
|
}
|
||||||
return storeActionField.getAt(recordIndex).get('text');
|
return storeActionField.getAt(recordIndex).get('text');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user