BUG 10036 "No esta rezalizando un buen conteo de la..." SOLVED

- Incorrect the displaying of the paging toolbar
- Fix the displaying of the paging toolbar
* Available from version 2.0.46
This commit is contained in:
Victor Saisa Lopez
2012-11-28 12:29:23 -04:00
parent b80ea5c5f3
commit 378f6a095e
2 changed files with 25 additions and 22 deletions

View File

@@ -119,7 +119,7 @@ function chDir( directory, loadGridOnly ) {
datastore.load({
params:{
start: 0,
limit:25,
limit: 100,
dir: directory,
node: directory,
option:'gridDocuments',
@@ -738,7 +738,7 @@ datastore = new Ext.data.Store({
directory : "/",
params : {
start: 0,
limit : 25,
limit: 100,
dir : this.directory,
node : this.directory,
option : "gridDocuments",
@@ -1083,10 +1083,10 @@ function filterDataStore(btn, e) {
// add a paging toolbar to the grid's footer
var gridbb = new Ext.PagingToolbar({
store: datastore,
pageSize : 25 ,
pageSize: 100,
displayInfo: true,
// displayMsg : '% % %',
emptyMsg : TRANSLATIONS.ID_DISPLAY_EMPTY,
displayMsg: _("ID_DISPLAY_TOTAL"),
emptyMsg: _("ID_DISPLAY_EMPTY"),
beforePageText : TRANSLATIONS.ID_PAGE,
// afterPageText : 'of %',
firstText : TRANSLATIONS.ID_FIRST,
@@ -1300,7 +1300,7 @@ function loadDir() {
datastore.load({
params : {
start: 0,
limit : 25,
limit: 100,
dir : datastore.directory,
node : datastore.directory,
option : 'gridDocuments',

View File

@@ -61,6 +61,7 @@ cron.application = {
{
var record = grdpnlMain.getSelectionModel().getSelected();
if (typeof record != "undefined") {
var strData = "<b>" + _("ID_DATE_LABEL") + "</b><br />" + record.get("DATE") + "<br />";
strData = strData + "<b>" + _("ID_WORKSPACE") + "</b><br />" + record.get("WORKSPACE") + "<br />";
strData = strData + "<b>" + _("ID_ACTION") + "</b><br />" + record.get("ACTION") + "<br />";
@@ -73,6 +74,7 @@ cron.application = {
winLog.setTitle("Log - " + _("ID_WORKSPACE") + "&nbsp;" + record.get("WORKSPACE"));
winLog.show();
}
}
//Variables
var pageSize = parseInt(CONFIG.pageSize);
@@ -233,7 +235,7 @@ cron.application = {
var btnInfoView = new Ext.Action({
id: "btnInfoView",
text: _("ID_VIEW_INFO"),
text: _("ID_CRON_INFO"),
iconCls: "button_menu_ext ss_sprite ss_zoom",
handler: function ()
@@ -457,3 +459,4 @@ cron.application = {
}
Ext.onReady(cron.application.init, cron.application);