BUG 8606 No scroll bar on the calendar option and are not buttons... SOLVED

- The form is long and can not see the buttons to save, modify, terminate at the end of the form
- In the form in the section of Ext.Viewport only increase the AutoScroll set true.
This commit is contained in:
Marco Antonio Nina
2012-03-08 11:54:46 -04:00
parent fadec156e5
commit 23d3683ea3

View File

@@ -126,30 +126,30 @@
}
}
var e = workHourComposite_.el.up( '.x-form-item' );
idWorkHour_.remove( workHourComposite_ );
e.remove();
dynaformCalendar_.doLayout();
var e = workHourComposite_.el.up( '.x-form-item' );
idWorkHour_.remove( workHourComposite_ );
e.remove();
dynaformCalendar_.doLayout();
}
Ext.ux.OrderedFormPanel = Ext.extend( Ext.FormPanel, {
addAfter : function( a, c ){
for( var i = 0 ; i < this.items.items.length ; i++ ){
if( this.items.items[i] == a ){
this.insert( i + 1, c );
return;
}
}
Ext.ux.OrderedFormPanel = Ext.extend( Ext.FormPanel, {
addAfter : function( a, c ){
for( var i = 0 ; i < this.items.items.length ; i++ ){
if( this.items.items[i] == a ){
this.insert( i + 1, c );
return;
}
}
},
addBefore : function( a, c ) {
for( var i = 0 ; i < this.items.items.length ; i++ ){
if( this.items.items[i] == a ){
this.insert( i, c );
return;
}
}
}
});
},
addBefore : function( a, c ) {
for( var i = 0 ; i < this.items.items.length ; i++ ){
if( this.items.items[i] == a ){
this.insert( i, c );
return;
}
}
}
});
//[ Global variables
calendarWorkDayArray = [];
@@ -313,10 +313,10 @@ Ext.onReady( function() {
var gridEachEndSecond = gridEachEndObject.getTime();
if((editorStartSecond > gridEachStartSecond)||(gridEachEndSecond>editorStartSecond))
dataExist = 'Off';
dataExist = 'Off';
else{
if(editorEndSecond>gridEachStartSecond||gridEachEndSecond>editorEndSecond)
dataExist = 'Off';
if(editorEndSecond>gridEachStartSecond||gridEachEndSecond>editorEndSecond)
dataExist = 'Off';
}
}
}
@@ -702,6 +702,7 @@ Ext.onReady( function() {
new Ext.Viewport({
autoScroll : true,
// layout: 'border',
items: [
{
@@ -849,9 +850,7 @@ Ext.onReady( function() {
}
]
}
]
},
{
id : 'idWorkHour',
@@ -1142,7 +1141,6 @@ Ext.onReady( function() {
]
});
//[ DATA EDIT
calendarWorkDayStatusReset();
var workDayEquivalenceArray = new Array();