BUG 6896 Cannot create Output Documents
I've tried this issue with older editor and I could create outputs, however the new editor has some mistakes, these mistakes were fixed
This commit is contained in:
@@ -1396,7 +1396,7 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
});
|
});
|
||||||
|
|
||||||
inputDocForm = new Ext.FormPanel({
|
inputDocForm = new Ext.FormPanel({
|
||||||
labelWidth: 100,
|
labelWidth: 10,
|
||||||
autoWidth : true,
|
autoWidth : true,
|
||||||
height : 380,
|
height : 380,
|
||||||
monitorValid : true,
|
monitorValid : true,
|
||||||
@@ -1887,7 +1887,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
handler: function(){
|
handler: function(){
|
||||||
editor.stopEditing();
|
editor.stopEditing();
|
||||||
Ext.Ajax.request({
|
Ext.Ajax.request({
|
||||||
url: '../outputdocs/outputdocs_Save.php',
|
url: 'outputdocs/outputdocs_Save.php',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
params: {
|
params: {
|
||||||
OUT_DOC_UID: outputDocUID,
|
OUT_DOC_UID: outputDocUID,
|
||||||
@@ -1971,7 +1971,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
//deleting the selected input document
|
//deleting the selected input document
|
||||||
PMExt.confirm(_('ID_CONFIRM'), _('ID_DELETE_OUTPUTDOCUMENT_CONFIRM'), function(){
|
PMExt.confirm(_('ID_CONFIRM'), _('ID_DELETE_OUTPUTDOCUMENT_CONFIRM'), function(){
|
||||||
Ext.Ajax.request({
|
Ext.Ajax.request({
|
||||||
url : '../outputdocs/outputdocs_Delete.php',
|
url : 'outputdocs/outputdocs_Delete.php',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
params: {
|
params: {
|
||||||
OUT_DOC_UID : ids
|
OUT_DOC_UID : ids
|
||||||
@@ -2375,9 +2375,9 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
var sDestPath = getForm.OUT_DOC_DESTINATION_PATH;
|
var sDestPath = getForm.OUT_DOC_DESTINATION_PATH;
|
||||||
var sTags = getForm.OUT_DOC_TAGS;
|
var sTags = getForm.OUT_DOC_TAGS;
|
||||||
if(sDocUID == "")
|
if(sDocUID == "")
|
||||||
{
|
{
|
||||||
Ext.Ajax.request({
|
Ext.Ajax.request({
|
||||||
url : '../outputdocs/outputdocs_Save.php',
|
url : 'outputdocs/outputdocs_Save.php',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
params:{
|
params:{
|
||||||
functions : 'lookForNameOutput',
|
functions : 'lookForNameOutput',
|
||||||
@@ -2388,7 +2388,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
if(response.responseText == "1")
|
if(response.responseText == "1")
|
||||||
{
|
{
|
||||||
Ext.Ajax.request({
|
Ext.Ajax.request({
|
||||||
url : '../outputdocs/outputdocs_Save.php',
|
url : 'outputdocs/outputdocs_Save.php',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
params:{
|
params:{
|
||||||
functions : '',
|
functions : '',
|
||||||
@@ -2426,7 +2426,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
Ext.Ajax.request({
|
Ext.Ajax.request({
|
||||||
url : '../outputdocs/outputdocs_Save.php',
|
url : 'outputdocs/outputdocs_Save.php',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
params:{
|
params:{
|
||||||
functions : '',
|
functions : '',
|
||||||
@@ -2468,6 +2468,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
var newOPWindow = new Ext.Window({
|
var newOPWindow = new Ext.Window({
|
||||||
title : _('ID_OUTPUT_DOCUMENTS'),
|
title : _('ID_OUTPUT_DOCUMENTS'),
|
||||||
width : 520,
|
width : 520,
|
||||||
|
closable : false,
|
||||||
defaults :{autoScroll:true},
|
defaults :{autoScroll:true},
|
||||||
height : 470,
|
height : 470,
|
||||||
minWidth : 200,
|
minWidth : 200,
|
||||||
@@ -3907,4 +3908,4 @@ var PMVariables = function() {
|
|||||||
items : [ varForm ]
|
items : [ varForm ]
|
||||||
});
|
});
|
||||||
window.show();
|
window.show();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user