PMCORE-3812:Ada compliant in Extjs
Code Style gulliver dialog CR Corrections CR 2
This commit is contained in:
@@ -21,7 +21,8 @@
|
|||||||
v-model="text"
|
v-model="text"
|
||||||
aria-label="search"
|
aria-label="search"
|
||||||
/>
|
/>
|
||||||
</div> <div class="form-check border-bottom">
|
</div>
|
||||||
|
<div class="form-check border-bottom">
|
||||||
<input
|
<input
|
||||||
class="form-check-input"
|
class="form-check-input"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
|||||||
@@ -1635,14 +1635,16 @@ function newFolder()
|
|||||||
$formNewFolder["items"]= array();
|
$formNewFolder["items"]= array();
|
||||||
|
|
||||||
$field=array();
|
$field=array();
|
||||||
$field["xtype"]= "label";
|
$field["xtype"]= "textfield";
|
||||||
$field["fieldLabel"]= G::LoadTranslation('ID_CREATE_FOLDER_PATH_FOLDER');
|
$field["fieldLabel"]= G::LoadTranslation('ID_CREATE_FOLDER_PATH_FOLDER');
|
||||||
$field["name"]= "form[FOLDER_PATH]";
|
$field["name"]= "FOLDER_PATH";
|
||||||
$field["id"]= "form[FOLDER_PATH]";
|
$field["id"]= "FOLDER_PATH";
|
||||||
$field["width"]=175;
|
$field["width"]=175;
|
||||||
$field["allowBlank"]=false;
|
$field["allowBlank"]=false;
|
||||||
$field["value"]=$folderPath;
|
$field["value"]=$folderPath;
|
||||||
$field["text"]=$folderPath;
|
$field["text"]=$folderPath;
|
||||||
|
$field["readOnly"]= true;
|
||||||
|
$field["style"] = "{'border': 'none'}";
|
||||||
$formNewFolder["items"][]= $field;
|
$formNewFolder["items"][]= $field;
|
||||||
|
|
||||||
$field=array();
|
$field=array();
|
||||||
|
|||||||
@@ -329,6 +329,12 @@ button.x-btn-text:focus,
|
|||||||
background-image: url(/skins/neoclassic/images/icons_silk/sprites.png);
|
background-image: url(/skins/neoclassic/images/icons_silk/sprites.png);
|
||||||
height: 18px;
|
height: 18px;
|
||||||
}
|
}
|
||||||
|
#FOLDER_PATH{
|
||||||
|
border: none;
|
||||||
|
background-image: none;
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
.ICON_FOLDERS {
|
.ICON_FOLDERS {
|
||||||
/*.ss_folder_explore*/
|
/*.ss_folder_explore*/
|
||||||
|
|
||||||
|
|||||||
@@ -398,6 +398,7 @@ function newNoteHandler() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
Ext.getCmp('addCancelBtn').setIcon('/images/comment_add.gif');
|
Ext.getCmp('addCancelBtn').setIcon('/images/comment_add.gif');
|
||||||
|
Ext.getCmp('addCancelBtn').btnEl.dom.ariaLabel = _('ID_CASES_NOTES_ADD');
|
||||||
|
|
||||||
caseNotesWindow.getTopToolbar().hide();
|
caseNotesWindow.getTopToolbar().hide();
|
||||||
Ext.getCmp("chkSendMail").hide();
|
Ext.getCmp("chkSendMail").hide();
|
||||||
@@ -411,6 +412,7 @@ function newNoteHandler() {
|
|||||||
Ext.getCmp('addCancelBtn').setText('');
|
Ext.getCmp('addCancelBtn').setText('');
|
||||||
Ext.getCmp('addCancelBtn').setTooltip({ title: _('ID_CASES_NOTES_CANCEL') });
|
Ext.getCmp('addCancelBtn').setTooltip({ title: _('ID_CASES_NOTES_CANCEL') });
|
||||||
Ext.getCmp('addCancelBtn').setIcon('/images/cancel.png');
|
Ext.getCmp('addCancelBtn').setIcon('/images/cancel.png');
|
||||||
|
Ext.getCmp('addCancelBtn').btnEl.dom.ariaLabel = _('ID_CASES_NOTES_CANCEL');
|
||||||
|
|
||||||
caseNotesWindow.getTopToolbar().show();
|
caseNotesWindow.getTopToolbar().show();
|
||||||
Ext.getCmp("chkSendMail").show();
|
Ext.getCmp("chkSendMail").show();
|
||||||
|
|||||||
@@ -89,11 +89,18 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
Ext.onReady(function(){
|
Ext.onReady(function(){
|
||||||
|
var i;
|
||||||
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
||||||
Ext.QuickTips.init();
|
Ext.QuickTips.init();
|
||||||
|
|
||||||
historyGridList();
|
historyGridList();
|
||||||
|
if (document.getElementsByTagName('input')) {
|
||||||
|
document.getElementsByTagName('input')[0].ariaLabel = "pagination";
|
||||||
|
}
|
||||||
|
if (document.getElementsByTagName('button')) {
|
||||||
|
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
|
||||||
|
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//!historyGridList|
|
//!historyGridList|
|
||||||
|
|||||||
@@ -222,12 +222,20 @@
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
Ext.onReady(function(){
|
Ext.onReady(function() {
|
||||||
|
var i;
|
||||||
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
||||||
Ext.QuickTips.init();
|
Ext.QuickTips.init();
|
||||||
|
|
||||||
historyDynaformGrid();
|
historyDynaformGrid();
|
||||||
|
if (document.getElementsByTagName('input')) {
|
||||||
|
document.getElementsByTagName('input')[0].ariaLabel = "pagination";
|
||||||
|
}
|
||||||
|
if (document.getElementsByTagName('button')) {
|
||||||
|
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
|
||||||
|
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var historyDynaformGridPreviewGlobal = {};
|
var historyDynaformGridPreviewGlobal = {};
|
||||||
|
|||||||
@@ -217,11 +217,18 @@ var ActionTabFrameGlobal = '';
|
|||||||
);
|
);
|
||||||
|
|
||||||
Ext.onReady(function(){
|
Ext.onReady(function(){
|
||||||
|
var i;
|
||||||
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
||||||
Ext.QuickTips.init();
|
Ext.QuickTips.init();
|
||||||
|
|
||||||
messageHistoryGridList();
|
messageHistoryGridList();
|
||||||
|
if (document.getElementsByTagName('input')) {
|
||||||
|
document.getElementsByTagName('input')[0].ariaLabel = "pagination";
|
||||||
|
}
|
||||||
|
if (document.getElementsByTagName('button')) {
|
||||||
|
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
|
||||||
|
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//!historyGridList|
|
//!historyGridList|
|
||||||
|
|||||||
@@ -2092,11 +2092,11 @@ var documentsTab = {
|
|||||||
|
|
||||||
};
|
};
|
||||||
Ext.onReady(function() {
|
Ext.onReady(function() {
|
||||||
|
var i,
|
||||||
var viewport = new Ext.Viewport({
|
viewport = new Ext.Viewport({
|
||||||
layout : 'border',
|
layout : 'border',
|
||||||
items: [treepanelmain, documentsTab]
|
items: [treepanelmain, documentsTab]
|
||||||
});
|
});
|
||||||
|
|
||||||
// console.info("viewport -end");
|
// console.info("viewport -end");
|
||||||
|
|
||||||
@@ -2108,5 +2108,16 @@ Ext.onReady(function() {
|
|||||||
parent.Ext.getCmp('debugPanel').hide();
|
parent.Ext.getCmp('debugPanel').hide();
|
||||||
parent.Ext.getCmp('debugPanel').ownerCt.doLayout();
|
parent.Ext.getCmp('debugPanel').ownerCt.doLayout();
|
||||||
}
|
}
|
||||||
|
if (document.getElementsByTagName('input')) {
|
||||||
|
document.getElementsByTagName('input')[0].ariaLabel = "filterField";
|
||||||
|
}
|
||||||
|
if (document.getElementsByTagName('input')) {
|
||||||
|
document.getElementsByTagName('input')[1].ariaLabel = "pagination";
|
||||||
|
}
|
||||||
|
if (document.getElementsByTagName('button')) {
|
||||||
|
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
|
||||||
|
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].id;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -154,11 +154,18 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
Ext.onReady(function(){
|
Ext.onReady(function(){
|
||||||
|
var i;
|
||||||
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
||||||
Ext.QuickTips.init();
|
Ext.QuickTips.init();
|
||||||
|
|
||||||
generateDocumentGrid();
|
generateDocumentGrid();
|
||||||
|
if (document.getElementsByTagName('input')) {
|
||||||
|
document.getElementsByTagName('input')[0].ariaLabel = "pagination";
|
||||||
|
}
|
||||||
|
if (document.getElementsByTagName('button')) {
|
||||||
|
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
|
||||||
|
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2784,8 +2784,17 @@ Ext.onReady ( function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
// Add the additional 'advanced' VTypes -- [End]
|
// Add the additional 'advanced' VTypes -- [End]
|
||||||
|
var i;
|
||||||
|
if (document.getElementsByTagName('input')) {
|
||||||
|
for (i = 0; i < document.getElementsByTagName('input').length; i+= 1) {
|
||||||
|
document.getElementsByTagName('input')[i].ariaLabel = document.getElementsByTagName('input')[i].id;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (document.getElementsByTagName('button')) {
|
||||||
|
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
|
||||||
|
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].id;
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function msgBox(title, msg, type){
|
function msgBox(title, msg, type){
|
||||||
|
|||||||
@@ -260,12 +260,19 @@
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
Ext.onReady(function(){
|
Ext.onReady(function() {
|
||||||
|
var i;
|
||||||
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
||||||
Ext.QuickTips.init();
|
Ext.QuickTips.init();
|
||||||
|
|
||||||
uploadDocumentGrid();
|
uploadDocumentGrid();
|
||||||
|
if (document.getElementsByTagName('input')) {
|
||||||
|
document.getElementsByTagName('input')[0].ariaLabel = "pagination";
|
||||||
|
}
|
||||||
|
if (document.getElementsByTagName('button')) {
|
||||||
|
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
|
||||||
|
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -392,7 +392,11 @@ Ext.onReady(function(){
|
|||||||
items:[{
|
items:[{
|
||||||
id: 'casesTab',
|
id: 'casesTab',
|
||||||
title: _('ID_CASE') +' ' + _APP_NUM,
|
title: _('ID_CASE') +' ' + _APP_NUM,
|
||||||
frameConfig:{name:'openCaseFrame', id:'openCaseFrame'},
|
frameConfig:{
|
||||||
|
name:'openCaseFrame',
|
||||||
|
id:'openCaseFrame',
|
||||||
|
title:'openCaseFrame'
|
||||||
|
},
|
||||||
defaultSrc : uri,
|
defaultSrc : uri,
|
||||||
loadMask:{msg: _('ID_LOADING_GRID') },
|
loadMask:{msg: _('ID_LOADING_GRID') },
|
||||||
bodyStyle:{height: (PMExt.getBrowser().screen.height-60) + 'px', overflow:'hidden'},
|
bodyStyle:{height: (PMExt.getBrowser().screen.height-60) + 'px', overflow:'hidden'},
|
||||||
@@ -680,6 +684,7 @@ Ext.onReady(function(){
|
|||||||
} else {
|
} else {
|
||||||
fieldset = {
|
fieldset = {
|
||||||
xtype : 'fieldset',
|
xtype : 'fieldset',
|
||||||
|
title: _('ID_INFORMATION'),
|
||||||
autoHeight : true,
|
autoHeight : true,
|
||||||
defaults : {
|
defaults : {
|
||||||
width : 170,
|
width : 170,
|
||||||
@@ -688,11 +693,66 @@ Ext.onReady(function(){
|
|||||||
style: 'font-weight: bold'
|
style: 'font-weight: bold'
|
||||||
},
|
},
|
||||||
items : [
|
items : [
|
||||||
{fieldLabel: _('ID_TITLE'), text: data.PRO_TITLE},
|
{
|
||||||
{fieldLabel: _('ID_DESCRIPTION'), text: data.PRO_DESCRIPTION},
|
xtype: 'textfield',
|
||||||
{fieldLabel: _('ID_CATEGORY'), text: data.PRO_CATEGORY_LABEL},
|
fieldLabel: _('ID_TITLE'),
|
||||||
{fieldLabel: _('ID_AUTHOR'), text: data.PRO_AUTHOR},
|
value: data.PRO_TITLE,
|
||||||
{fieldLabel: _('ID_CREATE_DATE'), text: data.PRO_CREATE_DATE}
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_DESCRIPTION'),
|
||||||
|
value: data.PRO_DESCRIPTION,
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_CATEGORY'),
|
||||||
|
value: data.PRO_CATEGORY_LABEL,
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_AUTHOR'),
|
||||||
|
value: data.PRO_AUTHOR,
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_CREATE_DATE'),
|
||||||
|
value: data.PRO_CREATE_DATE,
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -755,24 +815,91 @@ Ext.onReady(function(){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
fieldset = {
|
fieldset = {
|
||||||
xtype : 'fieldset',
|
xtype : 'fieldset',
|
||||||
autoHeight : true,
|
title: _('ID_INFORMATION'),
|
||||||
defaults : {
|
autoHeight : true,
|
||||||
width : 170,
|
defaults : {
|
||||||
xtype:'label',
|
width : 170,
|
||||||
labelStyle : 'padding: 0px;',
|
xtype:'label',
|
||||||
style: 'font-weight: bold'
|
labelStyle : 'padding: 0px;',
|
||||||
},
|
style: 'font-weight: bold'
|
||||||
items : [
|
},
|
||||||
{fieldLabel: _('ID_TITLE'), text: data.TAS_TITLE},
|
items : [
|
||||||
{fieldLabel: _('ID_DESCRIPTION'), text: data.TAS_DESCRIPTION},
|
{
|
||||||
{fieldLabel: _('ID_INIT_DATE'), text: data.INIT_DATE_LABEL},
|
xtype: 'textfield',
|
||||||
{fieldLabel: _('ID_DUE_DATE'), text: data.DUE_DATE_LABEL},
|
fieldLabel: _('ID_TITLE'),
|
||||||
{fieldLabel: _('ID_FINISH_DATE'), text: data.FINISH},
|
value: data.TAS_TITLE,
|
||||||
{fieldLabel: _('ID_TASK_DURATION'), text: data.DURATION}
|
readOnly: true,
|
||||||
]
|
style: {
|
||||||
}
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_DESCRIPTION'),
|
||||||
|
value: data.TAS_DESCRIPTION,
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_INIT_DATE'),
|
||||||
|
value: data.INIT_DATE_LABEL,
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_DUE_DATE'),
|
||||||
|
value: data.DUE_DATE_LABEL,
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_FINISH_DATE'),
|
||||||
|
value: data.FINISH,
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_TASK_DURATION'),
|
||||||
|
value: data.DURATION,
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
var frm = new Ext.FormPanel( {
|
var frm = new Ext.FormPanel( {
|
||||||
labelAlign : 'right',
|
labelAlign : 'right',
|
||||||
@@ -1322,7 +1449,8 @@ Ext.onReady(function(){
|
|||||||
url : 'ajaxListener' ,
|
url : 'ajaxListener' ,
|
||||||
params : {action : 'verifySession'},
|
params : {action : 'verifySession'},
|
||||||
success: function ( result, request ) {
|
success: function ( result, request ) {
|
||||||
var data = Ext.util.JSON.decode(result.responseText);
|
var data = Ext.util.JSON.decode(result.responseText),
|
||||||
|
i;
|
||||||
if( data.lostSession ) {
|
if( data.lostSession ) {
|
||||||
Ext.Msg.show({
|
Ext.Msg.show({
|
||||||
title: _('ID_ERROR'),
|
title: _('ID_ERROR'),
|
||||||
@@ -1353,8 +1481,17 @@ Ext.onReady(function(){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
winReassignInCasesList.show();
|
winReassignInCasesList.show();
|
||||||
grdpnlUsersToReassign.store.load();
|
grdpnlUsersToReassign.store.load();
|
||||||
|
if (document.getElementsByTagName('input')) {
|
||||||
|
document.getElementsByTagName('input')[1].ariaLabel = "search";
|
||||||
|
document.getElementsByTagName('input')[2].ariaLabel = "pagination";
|
||||||
|
}
|
||||||
|
if (document.getElementsByTagName('button')) {
|
||||||
|
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
|
||||||
|
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
failure: function ( result, request) {
|
failure: function ( result, request) {
|
||||||
@@ -1439,8 +1576,30 @@ Ext.onReady(function(){
|
|||||||
style: 'font-weight: bold'
|
style: 'font-weight: bold'
|
||||||
},
|
},
|
||||||
items : [
|
items : [
|
||||||
{fieldLabel: _("ID_CASE"), text: stringReplace("\\: ", "", _APP_NUM)},
|
{
|
||||||
{fieldLabel: _("ID_PAUSE_DATE"), text: _ENV_CURRENT_DATE},
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_CASE'),
|
||||||
|
value: stringReplace("\\: ", "", _APP_NUM),
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'textfield',
|
||||||
|
fieldLabel: _('ID_PAUSE_DATE'),
|
||||||
|
value: _ENV_CURRENT_DATE,
|
||||||
|
readOnly: true,
|
||||||
|
style: {
|
||||||
|
border: 'none',
|
||||||
|
backgroundImage: 'none',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
width: '170px'
|
||||||
|
}
|
||||||
|
},
|
||||||
new Ext.form.DateField({
|
new Ext.form.DateField({
|
||||||
id: 'unpauseDate',
|
id: 'unpauseDate',
|
||||||
format: 'Y-m-d',
|
format: 'Y-m-d',
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<iframe name="adminFrame" id="adminFrame" src ="clientSetup" width="99%" height="768" frameborder="0">
|
<iframe title="adminFrame" name="adminFrame" id="adminFrame" src ="clientSetup" width="99%" height="768" frameborder="0">
|
||||||
<p>Your browser does not support iframes.</p>
|
<p>Your browser does not support iframes.</p>
|
||||||
</iframe>
|
</iframe>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -26,10 +26,19 @@
|
|||||||
<en><![CDATA[Next step]]></en>
|
<en><![CDATA[Next step]]></en>
|
||||||
</NEXT_STEP>
|
</NEXT_STEP>
|
||||||
<JS type="javascript"><![CDATA[
|
<JS type="javascript"><![CDATA[
|
||||||
var nextStep = function(oForm)
|
var i,
|
||||||
{
|
span,
|
||||||
oForm.action = 'cases_NextStep';
|
nextStep = function(oForm) {
|
||||||
oForm.submit();
|
oForm.action = 'cases_NextStep';
|
||||||
};
|
oForm.submit();
|
||||||
|
};
|
||||||
|
label1 = document.getElementsByTagName('label')[0];
|
||||||
|
label2 = document.getElementsByTagName('label')[1];
|
||||||
|
span1 = document.createElement('span');
|
||||||
|
span1.innerHTML = label1.innerHTML;
|
||||||
|
span2 = document.createElement('span');
|
||||||
|
span2.innerHTML = label2.innerHTML;
|
||||||
|
label1.parentNode.replaceChild(span1, label1);
|
||||||
|
label2.parentNode.replaceChild(span2, label2);
|
||||||
]]></JS>
|
]]></JS>
|
||||||
</dynaForm>
|
</dynaForm>
|
||||||
|
|||||||
Reference in New Issue
Block a user